Skip to content

IOptionsModelChildEnrichment<TSelf>

public abstract interface IOptionsModelChildEnrichment<out TSelf> where TSelf : IOptionsModelChildEnrichment<out TSelf>

Namespace: RhoMicro.BindSight.Enrichments

Inheritance:

Represents an enrichment to an instance of OptionsModelChild.

NameDescriptionConstraints
TSelfThe implementing type (CRTP).IOptionsModelChildEnrichment<TSelf>
Create(IServiceProvider, OptionsModelChild)
Section titled “Create(IServiceProvider, OptionsModelChild)”
TSelf Create(IServiceProvider services, OptionsModelChild child)

Creates a new instance of the enrichment.

NameTypeDescription
childOptionsModelChildThe model for which the enrichment is being created.
servicesIServiceProviderThe service collection to optionally use when creating the enrichment instance.

The new enrichment instance.