Table of Contents

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

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.

Returns

object

The object returned by the method represented by the delegate.