Beispiel #1
0
 public OperationStackExecutionState(OperationStackOptions options, StackBlocks <TInput, TState, TOperationEvent> blocks, TInput stackInput, TState initialState)
 {
     this.options      = options;
     this.blocks       = blocks;
     StackInput        = stackInput;
     CurrentBlockSpec  = blocks.GetFirst();
     this.InitialState = initialState;
     State             = initialState;
 }
Beispiel #2
0
 internal OperationStackInternal(OperationStackOptions options, Func <TState> initialStateBuilder, bool hasInput, StackBlocks <TInput, TState, TOperationEvent> blocks)
     : this(options, initialStateBuilder, hasInput)
 {
     Blocks = blocks;
 }