CliCommandAsDelegate.InvokeDelegate Method
Definition
- Namespace
- DotMake.CommandLine
- Assembly
- DotMake.CommandLine.dll
Invokes the method represented by the command as delegate.
public object InvokeDelegate(string hash, object[] args)
Parameters
hashstringThe hash for command as delegate.
argsobject[]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.
Returns
- object
The object returned by the method represented by the delegate.