//------------------------------------------------------------------------------------------------------------------------------------------------- public void RaiseTransitioning(StateMachineEventArgs <TState, TTrigger> args) { if (_onTransitioning != null) { _onTransitioning(_ownerMachine, args); } }
//------------------------------------------------------------------------------------------------------------------------------------------------- public void Leave(StateMachineEventArgs <TState, TTrigger> args) { if (_onLeaving != null) { _onLeaving(_ownerMachine, args); } }