An NDoc Documented Class Library

ICommand.execute Method 

Executes logic of this particular ICommand taking passed IContext under consideration. ICommand may finalize processing current context returning true, or pass execution to other commands in chain by returning false.

[Visual Basic]
Function execute( _
   ByVal context As IContext _
) As Boolean
[C#]
bool execute(
   IContext context
);

Parameters

context
IContext that should be processed by this particular ICommand.

Return Value

true - when IContext processing is completed, false - when IContext processing is not completed and should be passed further(to the rest of commands in IChain)

See Also

ICommand Interface | NChain Namespace