Method AsBehavior
- Namespace
- SodaFlow
- Assembly
- SodaFlow.dll
AsBehavior<T>(LoopedBehavior<T>)
Return a reference to this LoopedBehavior<T> as a Behavior<T>.
public static Behavior<T> AsBehavior<T>(this LoopedBehavior<T> b)
Parameters
bLoopedBehavior<T>The looped behavior.
Returns
- Behavior<T>
A reference to this LoopedBehavior<T> as a Behavior<T>.
Type Parameters
TThe type of the looped behavior.