Ejemplo n.º 1
0
            //-------------------------------------------------------------------------------------------------------------------------------------------------

            IStateMachineStateBuilder <TState, TTrigger> IStateMachineTransitionBuilder <TState, TTrigger> .TransitionTo(
                TState destination,
                EventHandler <StateMachineEventArgs <TState, TTrigger> > onTransitioning)
            {
                _destinationStateValue = destination;
                _ownerState.AddTransition(this);
                _onTransitioning = onTransitioning;

                return(_ownerState);
            }