Esempio n. 1
0
        /// <summary>
        /// Executes the timer event on the corresponding state of the finite state machine.
        /// </summary>
        /// <param name="fsmState">Actual state of the finite state machine, the event should execute on.</param>
        public override void Execute(IFsmState fsmState)
        {
            if (fsmState == null)
            {
                throw new ArgumentNullException(@"fsmState");
            }

            fsmState.OnTimerEvent(this.timerArgs);
        }