Show / Hide Table of Contents

Class CommandInfo

Information about a command including name, description, and required/optional arguments.

Inheritance
object
CommandInfo
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 CommandInfo

Properties

| Edit this page View Source

Aliases

Alternate names that can be used on the command line in place of Name. These come from CommandAttribute.Aliases and are plain renames.

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

Arguments

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

Category

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

CommandAliases

Aliases that supply argument values in addition to renaming the command. These come from CommandAliasAttribute.

Declaration
public List<CommandAliasInfo> CommandAliases { get; }
Property Value
Type Description
List<CommandAliasInfo>
| Edit this page View Source

Description

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

IsAsync

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

Name

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