RootKeyEnrichment
public sealed class RootKeyEnrichment
Namespace: RhoMicro.BindSight.Enrichments
Inheritance:
Summary
Section titled “Summary”Enriches instances of OptionsModelRoot with the configuration key they are bound against.
Constructors
Section titled “Constructors”RootKeyEnrichment(string)
Section titled “RootKeyEnrichment(string)”public RootKeyEnrichment(string key)
Summary
Section titled “Summary”Enriches instances of OptionsModelRoot with the configuration key they are bound against.
Parameters
Section titled “Parameters”Name | Type | Description |
---|---|---|
key | String | The key against which the root is bound. |
Properties
Section titled “Properties”public string Key { get; }
Summary
Section titled “Summary”Gets the key against which the root is bound.
Methods
Section titled “Methods”Create(IServiceProvider, OptionsModelRoot)
Section titled “Create(IServiceProvider, OptionsModelRoot)”public static RootKeyEnrichment Create(IServiceProvider services, OptionsModelRoot root)