Constructor CellLoop
- Namespace
- SodaFlow
- Assembly
- SodaFlow.dll
CellLoop()
Initializes a new instance of the CellLoop<T> class, a forward reference to a cell with no definition at this point.
public CellLoop()
Remarks
A loop only makes sense in a single transaction, thus one must be open - make it with Run<T>(Func<T>) or RunVoid(Action). Resolve the loop by calling Loop(Cell<T>) before that transaction ends. A loop with no resolution is a defect, and not a no-op, thus this reports it as a defect.
Exceptions
- InvalidOperationException
Thrown when there is no explicit transaction open, or, at the end of that transaction, if Loop(Cell<T>) was never called on this instance.