Esempio n. 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();
     }
 }
Esempio n. 2
0
 public abstract void Execute(StateChangeInfo changeInfo);