Method Constant
- Namespace
- SodaFlow
- Assembly
- SodaFlow.dll
Constant<T>(T)
Creates a behavior with a constant value.
public static Behavior<T> Constant<T>(T value)
Parameters
valueTThe value of the behavior.
Returns
- Behavior<T>
A behavior with a constant value.
Type Parameters
TThe type of the value of the behavior.