C++ C#

LazyProperty(INotifyPropertySourceChanged^, String^, Func<T>^, Action<T>^, Func<T, bool>) Method

API Reference

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

Returns: MISSING PAGE

This website stores cookies on your computer that are used to manage the order in which you see the pages. To find out more about the cookies we use, see our Privacy Policy.