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