Skip to content

IOptionsModelRootEnrichment<TSelf>

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

Namespace: RhoMicro.BindSight.Enrichments

Inheritance:

Represents an enrichment to an instance of OptionsModelRoot.

NameDescriptionConstraints
TSelfThe implementing type (CRTP).IOptionsModelRootEnrichment<TSelf>
Create(IServiceProvider, OptionsModelRoot)
Section titled “Create(IServiceProvider, OptionsModelRoot)”
TSelf Create(IServiceProvider services, OptionsModelRoot root)

Creates a new instance of the enrichment.

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

The new enrichment instance.