CliCommandAsDelegate Class
Definition
- Namespace
- DotMake.CommandLine
- Assembly
- DotMake.CommandLine.dll
Represents a definition class generated by the source generator for a command as delegate.
public class CliCommandAsDelegate
- Inheritance
-
CliCommandAsDelegate
Methods
| Get(Delegate) |
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(string, object[]) |
Invokes the method represented by the command as delegate. |
| Register<TDefinition>(string) |
Registers a definition class so that it can be found by the hash of command as delegate. |