CommandContextScope - класс

Creates a block within which a navigation through CommandContext is possible.

Definition

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

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

CommandContextScope(Command) Initializes a new instance of the CommandContextScope class that uses the specified array of Command and escaped name of the entry point Assembly to create a new CommandContext for the scope.
CommandContextScope(CommandContext) Initializes a new instance of the CommandContextScope class with the specified CommandContext.

Методы

Dispose Restores the original CommandContext to the active context and recycles the CommandContextScope object.
EqualsDetermines whether the specified object is equal to the current object.
(Унаследован от Object)
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)

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

Get
(Определяется ComHelper)
Invoke
(Определяется ComHelper)
Set
(Определяется ComHelper)

См. также