/// <summary> /// Initializes a new instance of the <see cref="StateEventContext" /> class. /// </summary> /// <param name="stateMap"> The state map. </param> /// <param name="container"> The container. </param> /// <param name="transition"> The transition. </param> /// <param name="proxy"> The proxy. </param> /// <param name="debug"> </param> public StateTransitionContext(IStateMap stateMap, IContainer container, Action <List <IState>, IState, IStateTransition> transition, IStateTransitionProxy proxy, bool debug) { Debug = debug; StateMap = stateMap; Container = container; TransitionProxy = proxy; TransitionAction = transition; }
/// <summary> /// Initializes a new instance of the <see cref = "StateEventContext" /> class. /// </summary> /// <param name = "stateMap">The state map.</param> /// <param name = "container">The container.</param> /// <param name = "stateEvent">The state event.</param> public StateEventContext( IStateMap stateMap, IContainer container, IStateEventProxy stateEvent ) { StateMap = stateMap; Container = container; EventProxy = stateEvent; }