Class Command
Inheritance
System.Object
Command
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Mars.Components.dll
Syntax
Constructors
|
Improve this Doc
View Source
Command(String, String)
Declaration
protected Command(string name, string help = null)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.String |
help |
|
Properties
|
Improve this Doc
View Source
CommandSet
Declaration
public CommandSet CommandSet { get; }
Property Value
|
Improve this Doc
View Source
Help
Declaration
public string Help { get; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Name
Declaration
public string Name { get; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Options
Declaration
public OptionSet Options { get; set; }
Property Value
|
Improve this Doc
View Source
Run
Declaration
public Action<IEnumerable<string>> Run { get; set; }
Property Value
Type |
Description |
System.Action<System.Collections.Generic.IEnumerable<System.String>> |
|
Methods
|
Improve this Doc
View Source
Invoke(IEnumerable<String>)
Declaration
public virtual int Invoke(IEnumerable<string> arguments)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<System.String> |
arguments |
|
Returns
Type |
Description |
System.Int32 |
|
Extension Methods