CliCommandAsDelegate Class

Represents a definition class generated by the source generator for a command as delegate.

Definition

Namespace: DotMake.CommandLine
Assembly: DotMake.CommandLine (in DotMake.CommandLine.dll) Version: 1.8.8
C#
public class CliCommandAsDelegate
Inheritance
Object    CliCommandAsDelegate

Constructors

CliCommandAsDelegateInitializes a new instance of the CliCommandAsDelegate class

Methods

Get Gets the definition class registered for a command as delegate. Also registers the delegate instance so that it can be found by the hash.
InvokeDelegate Invokes the method represented by the command as delegate.
RegisterTDefinition Registers a definition class so that it can be found by the hash of command as delegate.

See Also