C# Class Moe.StateMachine.States.HistoryState

Shallow history representation
Inheritance: State
Show file Open project: sstuddard/Moe.StateMachine Class Usage Examples

Public Methods

Method Description
GetDeepState ( HistoryState historyState, TransitionEvent transitionEvent ) : State
GetShallowState ( HistoryState historyState, TransitionEvent transitionEvent ) : State
HistoryState ( State parent, HistoryFetchStrategy historyStrategy ) : System
TraverseDown ( TransitionEvent transitionEvent ) : State

Protected Methods

Method Description
OnParentExit ( object sender, StateTransitionEventArgs args ) : void

Method Details

GetDeepState() public static method

public static GetDeepState ( HistoryState historyState, TransitionEvent transitionEvent ) : State
historyState HistoryState
transitionEvent Moe.StateMachine.Transitions.TransitionEvent
return State

GetShallowState() public static method

public static GetShallowState ( HistoryState historyState, TransitionEvent transitionEvent ) : State
historyState HistoryState
transitionEvent Moe.StateMachine.Transitions.TransitionEvent
return State

HistoryState() public method

public HistoryState ( State parent, HistoryFetchStrategy historyStrategy ) : System
parent State
historyStrategy HistoryFetchStrategy
return System

OnParentExit() protected method

protected OnParentExit ( object sender, StateTransitionEventArgs args ) : void
sender object
args StateTransitionEventArgs
return void

TraverseDown() public method

public TraverseDown ( TransitionEvent transitionEvent ) : State
transitionEvent Moe.StateMachine.Transitions.TransitionEvent
return State