Class CommandAliasInfo
A single alternate name for a command. This covers both the plain aliases declared by CommandAttribute.Aliases and the aliases declared by CommandAliasAttribute, which also supply argument values.
Inherited Members
Namespace: Benday.CommandsFramework
Assembly: Benday.CommandsFramework.dll
Syntax
public class CommandAliasInfo
Properties
| Edit this page View SourceAlias
The alias that gets typed on the command line.
Declaration
public string Alias { get; }
Property Value
| Type | Description |
|---|---|
| string |
Arguments
Argument values supplied by this alias. Empty for a plain alias that only renames the command.
Declaration
public Dictionary<string, string> Arguments { get; }
Property Value
| Type | Description |
|---|---|
| Dictionary<string, string> |
CommandName
The real name of the command that this alias runs.
Declaration
public string CommandName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Description
Human readable description of what this alias does.
Declaration
public string Description { get; }
Property Value
| Type | Description |
|---|---|
| string |
HasArguments
True when this alias supplies argument values in addition to renaming the command.
Declaration
public bool HasArguments { get; }
Property Value
| Type | Description |
|---|---|
| bool |