Crystal AI  1.0.0
Crystal.ConsiderationCollection Class Reference

A collection of T:Crystal.IConsiderations and T:Crystal.ICompositeConsiderations More...

Inheritance diagram for Crystal.ConsiderationCollection:
Crystal.IConsiderationCollection

Public Member Functions

bool Add (IConsideration consideration)
 Adds the specified consideration. More...
 
bool Contains (string considerationId)
 Determines whether this collection contains a consideration associated with the given identifier. More...
 
void Clear ()
 Removes all considerations from this collection. More...
 
IConsideration Create (string considerationId)
 Creates a consideration that has the specified identifier, if no such consideration exists within this collection null is returned. More...
 
 ConsiderationCollection ()
 Initializes a new instance of the ConsiderationCollection class. More...
 

Detailed Description

A collection of T:Crystal.IConsiderations and T:Crystal.ICompositeConsiderations

See also
T:Crystal.IConsiderationCollection

Constructor & Destructor Documentation

Crystal.ConsiderationCollection.ConsiderationCollection ( )
inline

Initializes a new instance of the ConsiderationCollection class.

Member Function Documentation

bool Crystal.ConsiderationCollection.Add ( IConsideration  consideration)
inline

Adds the specified consideration.

Parameters
considerationThe consideration.
Returns
true if the consideration was successfully added to the collection, false otherwise.

Implements Crystal.IConsiderationCollection.

void Crystal.ConsiderationCollection.Clear ( )
inline

Removes all considerations from this collection.

Implements Crystal.IConsiderationCollection.

bool Crystal.ConsiderationCollection.Contains ( string  considerationId)
inline

Determines whether this collection contains a consideration associated with the given identifier.

Parameters
considerationIdThe consideration identifier.
Returns
true if the collection contains a consideration with the given identifier; otherwise false.

Implements Crystal.IConsiderationCollection.

IConsideration Crystal.ConsiderationCollection.Create ( string  considerationId)
inline

Creates a consideration that has the specified identifier, if no such consideration exists within this collection null is returned.

Parameters
considerationIdThe consideration identifier.
Returns

Implements Crystal.IConsiderationCollection.


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