IncludeConfigurationDirective - класс

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

Definition

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

Пример

".include": "../app.json"

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

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

Свойства

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)
GetItemSourceAsync Возвращает объект IConfigurationBuilderItemSource для обработки файлов по указанному пути или null, если обработка не требуется.
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 Ключ, по которому директива расположена в хранилище.

См. также