1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- using System;
- using System.Collections.Generic;
- using System.Text;
- namespace Wayne.Lib.StateEngine
- {
-
-
-
- public class StateChangedEventArgs : EventArgs
- {
- #region Fields
- State oldState;
- State newState;
- Transition transition;
- #endregion
- #region Construction
-
-
-
-
-
-
- public StateChangedEventArgs(State oldState, State newState, Transition transition)
- {
- this.oldState = oldState;
- this.newState = newState;
- this.transition = transition;
- }
- #endregion
- #region Properties
-
-
-
- public State OldState
- {
- get { return oldState; }
- }
-
-
-
- public State NewState
- {
- get { return newState; }
- }
-
-
-
- public Transition Transition
- {
- get { return transition; }
- }
- #endregion
- }
- }
|