North State Framework in C#
V3.0.0
An object-oriented framework for implementing UML state machines.
|
Represents contextual information for state machine actions and guards. More...
Public Member Functions | |
NSFStateMachineContext (NSFStateMachine source, NSFState enteringState, NSFState exitingState, NSFTransition transition, NSFEvent trigger) | |
Creates a state machine context. More... | |
Public Member Functions inherited from NSFContext | |
NSFContext (object source) | |
Creates a general purpose action or guard context. More... | |
Properties | |
NSFState | EnteringState [get, set] |
Gets or sets the state being entered. More... | |
NSFState | ExitingState [get, set] |
Gets or sets the state being exited. More... | |
new NSFStateMachine | Source [get] |
Gets the source of invocation. More... | |
NSFTransition | Transition [get, set] |
Gets or sets the associated transition. More... | |
NSFEvent | Trigger [get, set] |
Gets or sets the triggering event. More... | |
Properties inherited from NSFContext | |
object | Source [get, set] |
Gets or sets the source of invocation. More... | |
Represents contextual information for state machine actions and guards.
NSFStateMachineContext | ( | NSFStateMachine | source, |
NSFState | enteringState, | ||
NSFState | exitingState, | ||
NSFTransition | transition, | ||
NSFEvent | trigger | ||
) |
Creates a state machine context.
source | The state machine. |
enteringState | The state being entered. |
exitingState | The state being exited. |
transition | The associated transition. |
trigger | The triggering event. |
|
getset |
Gets or sets the state being entered.
Entering state is null unless the context corresponds to an entry action.
|
getset |
Gets or sets the state being exited.
Exiting state is null unless the context corresponds to an exit action.
|
get |
Gets the source of invocation.
|
getset |
Gets or sets the associated transition.
|
getset |
Gets or sets the triggering event.