CliCommandAsDelegateInvokeDelegate Method

Invokes the method represented by the command as delegate.

Definition

Namespace: DotMake.CommandLine
Assembly: DotMake.CommandLine (in DotMake.CommandLine.dll) Version: 1.8.8
C#
public Object InvokeDelegate(
	string hash,
	Object[] args
)

Parameters

hash  String
The hash for command as delegate.
args  Object
An array of objects that are the arguments to pass to the method represented by the command as delegate. -or- null, if the method represented by the command as delegate does not require arguments.

Return Value

Object
The object returned by the method represented by the delegate.

See Also