Namespace: Semata.Lazy
Allows a value to be set by a supplied initializer the first time it is accessed. The value maybe reset, so that any further access will cause it to be initialized again. LazyValue is read only
generic <typename T> public struct LazyValue
Constructors
| Name | Description |
| LazyValue(Func<T>^) |
Creates the LazyValue. |
Properties
| Name | Description |
| IsInitialized |
Has the value been initialized |
| Value |
Returns the initialized value. |
Methods
| Name | Description |
| Reset() |
Resets the value to the default for the type |