Пример #1
0
 public ExitOperation(StackStateMachine machine)
 {
     Machine = machine;
 }
Пример #2
0
 public TransitionExitOperation(StackStateMachine machine, int newState, bool fireAgain = false) : base(machine)
 {
     _newState  = newState;
     _fireAgain = fireAgain;
 }
Пример #3
0
 public ErrorExitOperation(ILogger logger, string message, StackStateMachine machine) : base(machine)
 {
     _logger  = logger;
     _message = message;
 }
Пример #4
0
 public StackExitOperation(StackStateMachine machine, bool fireAgain = false) : base(machine)
 {
     _fireAgain = fireAgain;
 }
Пример #5
0
 public StateMachineParser(ILogger logger)
 {
     _logger  = logger;
     _machine = new StackStateMachine(1, _transitions);
 }