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(); } }
public abstract void Execute(StateChangeInfo changeInfo);