IOptionsModelEnrichment<TSelf>
public abstract interface IOptionsModelEnrichment<out TSelf> where TSelf : IOptionsModelEnrichment<out TSelf>
Namespace: RhoMicro.BindSight.Enrichments
Inheritance:
Summary
Section titled “Summary”Represents an enrichment to an instance of OptionsModel.
Type Parameters
Section titled “Type Parameters”Name | Description | Constraints |
---|---|---|
TSelf | The implementing type (CRTP). | IOptionsModelEnrichment<TSelf> |
Methods
Section titled “Methods”Create(IServiceProvider, OptionsModel)
Section titled “Create(IServiceProvider, OptionsModel)”TSelf Create(IServiceProvider services, OptionsModel model)
Summary
Section titled “Summary”Creates a new instance of the enrichment.
Parameters
Section titled “Parameters”Name | Type | Description |
---|---|---|
model | OptionsModel | 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.