CommandContext - класс

Implements a Command that executes a child command.

Definition

Пространство имён: Tessa.Platform.CommandLine
Сборка: Tessa (в Tessa.dll) Версия: 3.6.0.22
C#
public sealed class CommandContext : Command
Inheritance
Object    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.

Методы

EqualsDetermines 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(ArgumentEnumerator) 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(String) 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))
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Унаследован от Object)
GetHashCodeServes as the default hash function.
(Унаследован от Object)
GetTypeGets the Type of the current instance.
(Унаследован от Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Унаследован от Object)
ToStringReturns a string that represents the current object.
(Унаследован от Object)

Методы расширения

AddCommand
(Определяется CommandExtensions)
AddCommandT1
(Определяется CommandExtensions)
AddCommandT1, T2
(Определяется CommandExtensions)
AddCommandT1, T2, T3
(Определяется CommandExtensions)
AddCommandT1, T2, T3, T4
(Определяется CommandExtensions)
AddCommandT1, T2, T3, T4, T5
(Определяется CommandExtensions)
AddCommandT1, T2, T3, T4, T5, T6
(Определяется CommandExtensions)
AddCommandT1, T2, T3, T4, T5, T6, T7
(Определяется CommandExtensions)
AddCommandT1, T2, T3, T4, T5, T6, T7, T8
(Определяется CommandExtensions)
AddCommandT1, T2, T3, T4, T5, T6, T7, T8, T9
(Определяется CommandExtensions)
AddCommandT1, T2, T3, T4, T5, T6, T7, T8, T9, T10
(Определяется CommandExtensions)
AddCommandT1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11
(Определяется CommandExtensions)
AddCommandT1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12
(Определяется CommandExtensions)
AddCommandT1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13
(Определяется CommandExtensions)
AddCommandT1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14
(Определяется CommandExtensions)
AddCommandT1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15
(Определяется CommandExtensions)
AddCommandT1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16
(Определяется CommandExtensions)
ExecuteAllAsync Continuously executes a command using standard IO streams until the input stream returns null or a CommandCanceledException was thrown.
(Определяется CommandExtensions)
ExecuteAllAsync
(Определяется CommandExtensions)
ExecuteAllAsync Continuously executes a command using specified IO streams until the input stream returns null or a CommandCanceledException was thrown.
(Определяется CommandExtensions)
ExecuteAllAsync Continuously executes a command using specified IO streams until the input stream returns null or a CommandCanceledException was thrown.
(Определяется CommandExtensions)
ExecuteAllAsync
(Определяется CommandExtensions)
ExecuteSingleAsync Executes a command using standard IO streams.
(Определяется CommandExtensions)
ExecuteSingleAsync
(Определяется CommandExtensions)
ExecuteSingleAsync Executes a command using specified IO streams.
(Определяется CommandExtensions)
ExecuteSingleAsync Executes a command using specified IO streams.
(Определяется CommandExtensions)
ExecuteSingleAsync
(Определяется CommandExtensions)
Get
(Определяется ComHelper)
InternalMarkerCanvas Возвращает маркер аннотации
(Определяется AnnotationInternalsAccessor)
Invoke
(Определяется ComHelper)
Set
(Определяется ComHelper)

См. также