IfConfigurationDirective - класс

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

Definition

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

Пример

".if": [ [ "existentSymbol", "!absentSymbol" ], { "Key": value } ]

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

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

Свойства

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 Ключ, по которому директива расположена в хранилище.

См. также