An NDoc Documented Class Library

IChain.addCommand Method 

Adds ICommand to list of IChain's commands. It is not possible to add ICommand to IChain's commands list while IChain is processing IContext (IChain's commands list during request execution is frozen) - such try will cause an exception.

[Visual Basic]
Sub addCommand( _
   ByVal command As ICommand _
)
[C#]
void addCommand(
   ICommand command
);

Parameters

command
ICommand that should be added to IChain.

See Also

IChain Interface | NChain Namespace