Method ConstantLazy
- Namespace
- SodaFlow
- Assembly
- SodaFlow.dll
ConstantLazy<T>(Lazy<T>)
Creates a behavior with a lazily computed constant value.
public static Behavior<T> ConstantLazy<T>(Lazy<T> value)
Parameters
valueLazy<T>The lazily computed value of the behavior.
Returns
- Behavior<T>
A behavior with a lazily computed constant value.
Type Parameters
TThe type of the value of the behavior.