Command - класс

Represents a command that performs an action.

Definition

Пространство имён: Tessa.Platform.CommandLine
Сборка: Tessa (в Tessa.dll) Версия: 4.0.4
C#
public abstract class Command
Inheritance
Object    Command
Derived

Конструкторы

Command Initializes a new instance of the Command class using the specified command name and description.

Свойства

Description Gets the description of the command.
Name Gets the name of the command.

Методы

EqualsDetermines whether the specified object is equal to the current object.
(Унаследован от Object)
ExecuteAsync(CancellationToken) Executes a command using standard IO streams and arguments which will be read from the input stream.
ExecuteAsync(String) Executes a command using standard IO streams and specified arguments.
ExecuteAsync(ArgumentEnumerator, CancellationToken) Executes a command using standard IO streams and specified arguments.
ExecuteAsync(String, CancellationToken) Executes a command using standard IO streams and specified arguments.
ExecuteAsync(TextReader, TextWriter, String) Executes a command using specified IO streams and arguments.
ExecuteAsync(TextReader, TextWriter, CancellationToken) Executes a command using specified IO streams and arguments which will be read from the input stream.
ExecuteAsync(TextReader, TextWriter, TextWriter, String) Executes a command using specified IO streams and arguments.
ExecuteAsync(TextReader, TextWriter, TextWriter, CancellationToken) Executes a command using specified IO streams and arguments which will be read from the input stream.
ExecuteAsync(TextReader, TextWriter, String, CancellationToken) Executes a command using specified IO streams and arguments.
ExecuteAsync(TextReader, TextWriter, ArgumentEnumerator, CancellationToken) Executes a command using specified IO streams and arguments.
ExecuteAsync(TextReader, TextWriter, TextWriter, String, CancellationToken) Executes a command using specified IO streams and arguments.
ExecuteAsync(TextReader, TextWriter, TextWriter, ArgumentEnumerator, CancellationToken) Executes a command using specified IO streams and arguments.
ExecuteCoreAsync When overridden in a derived class, provides execution logic.
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)

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

ExecuteAllAsync Continuously executes a command using standard IO streams until the input stream returns null or a CommandCanceledException was thrown.
(Определяется CommandLineExtensions)
ExecuteAllAsync
(Определяется CommandLineExtensions)
ExecuteAllAsync Continuously executes a command using specified IO streams until the input stream returns null or a CommandCanceledException was thrown.
(Определяется CommandLineExtensions)
ExecuteAllAsync Continuously executes a command using specified IO streams until the input stream returns null or a CommandCanceledException was thrown.
(Определяется CommandLineExtensions)
ExecuteAllAsync
(Определяется CommandLineExtensions)
ExecuteSingleAsync Executes a command using standard IO streams.
(Определяется CommandLineExtensions)
ExecuteSingleAsync
(Определяется CommandLineExtensions)
ExecuteSingleAsync Executes a command using specified IO streams.
(Определяется CommandLineExtensions)
ExecuteSingleAsync Executes a command using specified IO streams.
(Определяется CommandLineExtensions)
ExecuteSingleAsync
(Определяется CommandLineExtensions)
Get
(Определяется ComHelper)
Invoke
(Определяется ComHelper)
Set
(Определяется ComHelper)

См. также