Skip to content

IOptionsModelEnrichment<TSelf>

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

Namespace: RhoMicro.BindSight.Enrichments

Inheritance:

Represents an enrichment to an instance of OptionsModel.

NameDescriptionConstraints
TSelfThe implementing type (CRTP).IOptionsModelEnrichment<TSelf>
TSelf Create(IServiceProvider services, OptionsModel model)

Creates a new instance of the enrichment.

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

The new enrichment instance.