Show / Hide Table of Contents

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.

Inheritance
object
CommandAliasInfo
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Benday.CommandsFramework
Assembly: Benday.CommandsFramework.dll
Syntax
public class CommandAliasInfo

Properties

| Edit this page View Source

Alias

The alias that gets typed on the command line.

Declaration
public string Alias { get; }
Property Value
Type Description
string
| Edit this page View Source

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>
| Edit this page View Source

CommandName

The real name of the command that this alias runs.

Declaration
public string CommandName { get; }
Property Value
Type Description
string
| Edit this page View Source

Description

Human readable description of what this alias does.

Declaration
public string Description { get; }
Property Value
Type Description
string
| Edit this page View Source

HasArguments

True when this alias supplies argument values in addition to renaming the command.

Declaration
public bool HasArguments { get; }
Property Value
Type Description
bool
  • Edit this page
  • View Source
In this article
Back to top Copyright © www.benday.com | info@benday.com