North State Framework in C#  V3.0.0
An object-oriented framework for implementing UML state machines.
Public Member Functions | Static Public Member Functions | List of all members
NSFVoidActions< ContextType > Class Template Reference

Represents a list of actions. More...

Inheritance diagram for NSFVoidActions< ContextType >:
NSFDelegateListBase

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...
 

Detailed Description

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.

Member Function Documentation

bool isEmpty ( )

Indicates if the list is empty.

Returns
True if the list is empty, false otherwise.
static NSFVoidActions<ContextType> operator+ ( NSFVoidActions< ContextType >  list,
NSFVoidAction< ContextType >  action 
)
static

Adds an action to the list of actions.

Parameters
listThe action list.
actionThe action to add.
Returns
The list of actions.
static NSFVoidActions<ContextType> operator- ( NSFVoidActions< ContextType >  list,
NSFVoidAction< ContextType >  action 
)
static

Removes an action from the list of actions.

Parameters
listThe action list.
actionThe action to remove.
Returns
The list of actions.



Copyright 2004-2014, North State Software, LLC. All rights reserved.