An NDoc Documented Class Library

ChainBase Members

ChainBase overview

Public Instance Constructors

ChainBase Overloaded. Initializes a new instance of the ChainBase class.

Public Instance Properties

Commands Returns list of commands that are in IChain.

Public Instance Methods

addCommand Adds ICommand to tail of current IChain instance.
addCommands Adds list if ICommands to current IChain instance.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
execute Executes IChain. Commands that are inside IChain are executed in the same order as thay are placed in IChain.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
removeCommand Removes particular ICommand from IChain.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Fields

commandsList List of commands that belong to this IChain.
isFrozen Indicates whether this IChain is in 'frozen' state or not. When IChain is in 'frozen' state commands cannot be added to it or removed from it. IChain is in 'frozen' stated during IContext processing (while IChain's execute method is running).

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

ChainBase Class | NChain Namespace