North State Framework in C#
V3.0.0
An object-oriented framework for implementing UML state machines.
|
Represents a list of actions. More...
Public Member Functions | |
bool | isEmpty () |
Indicates if the list is empty. More... | |
Static Public Member Functions | |
static NSFVoidActions < ContextType > | operator+ (NSFVoidActions< ContextType > list, NSFVoidAction< ContextType > action) |
Adds an action to the list of actions. More... | |
static NSFVoidActions < ContextType > | operator- (NSFVoidActions< ContextType > list, NSFVoidAction< ContextType > action) |
Removes an action from the list of actions. More... | |
Represents a list of actions.
The primary purpose of this class is to provide exception handling around action invocations. An exception thrown by any action will be caught, allowing the other actions to execute. Notification of action exceptions is also available.
bool isEmpty | ( | ) |
Indicates if the list is empty.
|
static |
Adds an action to the list of actions.
list | The action list. |
action | The action to add. |
|
static |
Removes an action from the list of actions.
list | The action list. |
action | The action to remove. |