ChildKeyEnrichment
public sealed class ChildKeyEnrichment
Namespace: RhoMicro.BindSight.Enrichments
Inheritance:
Summary
Section titled “Summary”Enriches instances of OptionsModelChild with the configuration keys they are bound against.
Constructors
Section titled “Constructors”ChildKeyEnrichment(OptionsModelChild, string, bool)
Section titled “ChildKeyEnrichment(OptionsModelChild, string, bool)”public ChildKeyEnrichment(OptionsModelChild child, string key, bool combineWithParent)
Summary
Section titled “Summary”Enriches instances of OptionsModelChild with the configuration keys they are bound against.
Parameters
Section titled “Parameters”Name | Type | Description |
---|---|---|
child | OptionsModelChild | The enriched child. |
combineWithParent | Boolean | Indicates whether to combine key with the key against which child.OptionsModelChild.Parentis bound. |
key | String | The key against which the child is bound. |
Properties
Section titled “Properties”public string Key { get; }
Summary
Section titled “Summary”Gets the key of the child.
Methods
Section titled “Methods”Create(IServiceProvider, OptionsModelChild)
Section titled “Create(IServiceProvider, OptionsModelChild)”public static ChildKeyEnrichment Create(IServiceProvider services, OptionsModelChild child)