Table of Contents

Class ConvertedProperty<T, U>

Namespace
The.Model.Editor
Assembly
Instagile.Model.dll
public class ConvertedProperty<T, U> : IProperty<U>, INotifyPropertyChanged

Type Parameters

T
U
Inheritance
ConvertedProperty<T, U>
Implements
Derived
Inherited Members

Constructors

ConvertedProperty(IProperty<T>, Func<T, U>, Func<U, T>)

public ConvertedProperty(IProperty<T> inner, Func<T, U> convert, Func<U, T> convertBack)

Parameters

inner IProperty<T>
convert Func<T, U>
convertBack Func<U, T>

Fields

ConvertBack

protected readonly Func<U, T> ConvertBack

Field Value

Func<U, T>

Properties

Value

public U Value { get; set; }

Property Value

U

Methods

ToString()

public override string ToString()

Returns

string

Undo()

public void Undo()

Update(U)

public void Update(U value)

Parameters

value U

Events

PropertyChanged

public event PropertyChangedEventHandler? PropertyChanged

Event Type

PropertyChangedEventHandler