DefineConfigurationDirective - класс

Директива в конфигурационном файле, выполняющая включение или исключение символов из текущей конфигурации посредством объекта SymbolManager.

Definition

Пространство имён: Tessa.Platform.Configuration
Сборка: Tessa (в Tessa.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
C#
[OrderAttribute(2)]
public class DefineConfigurationDirective : ConfigurationDirectiveBase
Inheritance
Object    ConfigurationDirectiveBase    DefineConfigurationDirective

Заметки

Символы в дальнейшем используются в директиве IfConfigurationDirective, поэтому эта директива должна быть подключена раньше.

Пример

".define": [ "addedSymbol", "!removedSymbol" ]

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

DefineConfigurationDirectiveИнициализирует новый экземпляр класса DefineConfigurationDirective

Свойства

InstanceЭкземпляр класса.
Key Ключ, по которому директива расположена в хранилище.
(Переопределяет ConfigurationDirectiveBaseKey)

Методы

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)
ProcessValueAsync Выполняет обработку значения директивы.
(Унаследован от ConfigurationDirectiveBase)
ProcessValueCoreAsync Выполняет обработку значения директивы.
(Переопределяет ConfigurationDirectiveBaseProcessValueCoreAsync(Object, DictionaryString, Object, IConfigurationBuilderContext, CancellationToken))
ToStringReturns a string that represents the current object.
(Унаследован от Object)

Поля

KeyConst Ключ, по которому директива расположена в хранилище.

См. также