Namespace: Semata.Lazy
Class: LazyProperty<T>
Creates the LazyProperty.
public: ^ LazyProperty(INotifyPropertySourceChanged^ source, String^ sourcePropertyName, Func<T>^ propertyGet, Action<T>^ propertySet, Func<T, bool> isChanged, Action<LazyProperty<T>>^ propertyChangedAction)
Parameters
Type | Name | Description |
INotifyPropertySourceChanged^ | source | the object that implements INotifyPropertySourceChanged. Usually the owning object |
String^ | sourcePropertyName | The name used to identify this property |
Func<T>^ | propertyGet | A delegate that returns a value of type T. Initializes the value |
Action<T>^ | propertySet | A delegate that takes a value of type T. Sets the value |
Func<T, bool> | isChanged | A delegate that takes a value of type T and returns a boolean. Checks the value has changed |
Action<LazyProperty<T>>^ | propertyChangedAction | A delegate that takes a value of type T. Typically used for raising PropertyChanged on owning object |
Returns: MISSING PAGE