예제 #1
0
 public override void Execute(StateChangeInfo changeInfo)
 {
     if (
         _handlerType == HandlerType.OnEntering ||
         _handlerType == HandlerType.OnChanging ||
         _handlerType == HandlerType.OnExiting ||
         _handlerType == HandlerType.OnEditing
         )
     {
         _handler((StateChangeGuardInfo <TState>)changeInfo);
     }
     else
     {
         throw new NotImplementedException();
     }
 }
예제 #2
0
 public abstract void Execute(StateChangeInfo changeInfo);