Class IndirectProperty<T>
- Namespace
- The.Model.Editor
- Assembly
- Instagile.Model.dll
public class IndirectProperty<T> : IElement<T>, IProperty<T>, INotifyPropertyChanged
Type Parameters
T
- Inheritance
-
IndirectProperty<T>
- Implements
-
- Inherited Members
-
Constructors
IndirectProperty(T, Func<T, IEvent[]>, Action<IEvent[]>, Func<T, string?>?, string?)
public IndirectProperty(T initialValue, Func<T, IEvent[]> createEvents, Action<IEvent[]> processEvents, Func<T, string?>? generateDoc = null, string? label = null)
Parameters
initialValue T
createEvents Func<T, IEvent[]>
processEvents Action<IEvent[]>
generateDoc Func<T, string>
label string
Properties
Doc
public string? Doc { get; }
Property Value
- string
Label
public string? Label { get; }
Property Value
- string
Value
public T Value { get; set; }
Property Value
- T
Methods
GenDoc(T)
public string? GenDoc(T value)
Parameters
value T
Returns
- string
ToString()
public override string ToString()
Returns
- string
Undo()
Update(T)
public void Update(T value)
Parameters
value T
Events
PropertyChanged
public event PropertyChangedEventHandler? PropertyChanged
Event Type
- PropertyChangedEventHandler