IOptionsModelRootEnrichment<TSelf>
public abstract interface IOptionsModelRootEnrichment<out TSelf> where TSelf : IOptionsModelRootEnrichment<out TSelf>
Namespace: RhoMicro.BindSight.Enrichments
Inheritance:
Summary
Section titled “Summary”Represents an enrichment to an instance of OptionsModelRoot.
Type Parameters
Section titled “Type Parameters”Name | Description | Constraints |
---|---|---|
TSelf | The implementing type (CRTP). | IOptionsModelRootEnrichment<TSelf> |
Methods
Section titled “Methods”Create(IServiceProvider, OptionsModelRoot)
Section titled “Create(IServiceProvider, OptionsModelRoot)”TSelf Create(IServiceProvider services, OptionsModelRoot root)
Summary
Section titled “Summary”Creates a new instance of the enrichment.
Parameters
Section titled “Parameters”Name | Type | Description |
---|---|---|
root | OptionsModelRoot | The model for which the enrichment is being created. |
services | IServiceProvider | The service collection to optionally use when creating the enrichment instance. |
Returns
Section titled “Returns”The new enrichment instance.