Esempio n. 1
0
        /// <summary>
        /// Called when the state machine entered the initial state.
        /// </summary>
        /// <param name="stateMachine">The state machine.</param>
        /// <param name="state">The state.</param>
        /// <param name="stateContext">The state context.</param>
        public override void EnteredInitialState(IStateMachineInformation <TState, TEvent> stateMachine, TState state, IStateContext <TState, TEvent> stateContext)
        {
            Ensure.ArgumentNotNull(stateContext, "stateContext");

            this.log.DebugFormat("State machine {0} performed {1}.", stateMachine, stateContext.GetRecords());
        }