CommandContext - класс |
Пространство имён: Tessa.Platform.CommandLine
public sealed class CommandContext : Command
Тип CommandContext предоставляет следующие члены.
Имя | Описание | |
---|---|---|
CommandContext(String, Command) |
Initializes a new instance of the CommandContext class using
the specified command name and child commands.
| |
CommandContext(String, String, Command) |
Initializes a new instance of the CommandContext class using
the specified command name, the description and child commands.
|
Имя | Описание | |
---|---|---|
Commands |
Gets a CommandCollection of child commands of this CommandContext.
| |
Current |
Gets the current context for the current command thread.
| |
Description |
Gets the description of the command.
(Унаследован от Command.) | |
Name |
Gets the name of the command.
(Унаследован от Command.) | |
Root |
Gets the root context for the current thread.
|
Имя | Описание | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Унаследован от Object.) | |
ExecuteAsync |
Executes a command using standard IO streams and arguments which will be read from the input stream.
(Унаследован от Command.) | |
ExecuteAsync(String) |
Executes a command using standard IO streams and specified arguments.
(Унаследован от Command.) | |
ExecuteAsync(String) |
Executes a command using standard IO streams and specified arguments.
(Унаследован от Command.) | |
ExecuteAsync(ArgumentEnumerator) |
Executes a command using standard IO streams and specified arguments.
(Унаследован от Command.) | |
ExecuteAsync(TextReader, TextWriter) |
Executes a command using specified IO streams and arguments which will be read from the input stream.
(Унаследован от Command.) | |
ExecuteAsync(TextReader, TextWriter, TextWriter) |
Executes a command using specified IO streams and arguments which will be read from the input stream.
(Унаследован от Command.) | |
ExecuteAsync(TextReader, TextWriter, String) |
Executes a command using specified IO streams and arguments.
(Унаследован от Command.) | |
ExecuteAsync(TextReader, TextWriter, String) |
Executes a command using specified IO streams and arguments.
(Унаследован от Command.) | |
ExecuteAsync(TextReader, TextWriter, ArgumentEnumerator) |
Executes a command using specified IO streams and arguments.
(Унаследован от Command.) | |
ExecuteAsync(TextReader, TextWriter, TextWriter, String) |
Executes a command using specified IO streams and arguments.
(Унаследован от Command.) | |
ExecuteAsync(TextReader, TextWriter, TextWriter, String) |
Executes a command using specified IO streams and arguments.
(Унаследован от Command.) | |
ExecuteAsync(TextReader, TextWriter, TextWriter, ArgumentEnumerator) |
Executes a command using specified IO streams and arguments.
(Унаследован от Command.) | |
ExecuteCoreAsync |
When overridden in a derived class, provides execution logic.
(Переопределяет CommandExecuteCoreAsync(TextReader, TextWriter, TextWriter, ArgumentEnumerator).) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Унаследован от Object.) | |
GetHashCode | Serves as the default hash function. (Унаследован от Object.) | |
GetType | Gets the Type of the current instance. (Унаследован от Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Унаследован от Object.) | |
ToString | Returns a string that represents the current object. (Унаследован от Object.) |