Crystal AI  1.0.0
Crystal.IActionCollection Interface Reference

A collection of T:Crystal.IActions. More...

Inheritance diagram for Crystal.IActionCollection:
Crystal.ActionCollection

Public Member Functions

bool Add (IAction action)
 Adds the specified action. More...
 
bool Contains (string actionId)
 Determines whether this collection contains an action with the specified identifier (actionId). More...
 
void Clear ()
 Removes all actions from this collection. More...
 
IAction Create (string actionId)
 Creates the specified action identifier. More...
 

Detailed Description

A collection of T:Crystal.IActions.

Member Function Documentation

bool Crystal.IActionCollection.Add ( IAction  action)

Adds the specified action.

Parameters
actionThe action.
Returns
true if the action was successfully added to the collection, false otherwise.

Implemented in Crystal.ActionCollection.

void Crystal.IActionCollection.Clear ( )

Removes all actions from this collection.

Implemented in Crystal.ActionCollection.

bool Crystal.IActionCollection.Contains ( string  actionId)

Determines whether this collection contains an action with the specified identifier (actionId).

Parameters
actionIdThe action identifier.
Returns
true if an action with the specified identifier exists within the collection; otherwise, false.

Implemented in Crystal.ActionCollection.

IAction Crystal.IActionCollection.Create ( string  actionId)

Creates the specified action identifier.

Parameters
actionIdThe action identifier.
Returns
T:Crystal.IAction if an action with the specified identifier exists, null otherwise.

Implemented in Crystal.ActionCollection.


The documentation for this interface was generated from the following file: