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)
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 |