Class BehaviorLoop<T>
- Namespace
- SodaFlow
- Assembly
- SodaFlow.dll
A forward reference for a Behavior<T>, equivalent to the Behavior<T> that it stands for.
[PublicAPI]
public class BehaviorLoop<T> : LoopedBehavior<T>
Type Parameters
TThe type of values in the behavior loop.
- Inheritance
-
Behavior<T>BehaviorLoop<T>
- Inherited Members
- Extension Methods
Constructors
- BehaviorLoop()
Initializes a new instance of the BehaviorLoop<T> class, a forward reference to a behavior with no definition at this point.
Methods
- Loop(Behavior<T>)
Resolve the loop to specify what the BehaviorLoop<T> was a forward reference to. This method must run in the same transaction as the one that made this BehaviorLoop<T> created and used. This needs an explicit transaction from Run<T>(Func<T>) or RunVoid(Action).