Beispiel #1
0
 public IStateToBuilder <TState> From(TState state)
 {
     _stateTransitionInfo = new StateTransitionInfo
     {
         From = state.ToInt()
     };
     return(this);
 }
 public void AddTransition(StateTransitionInfo stateTransitionInfo)
 {
     _stateTransitions.Add(stateTransitionInfo);
 }