Skip to content

NameEnrichment

public sealed class NameEnrichment

Namespace: RhoMicro.BindSight.Enrichments

Inheritance:

Enriches instances of OptionsModelRoot or OptionsModelChildwith names.

public NameEnrichment(string name)

Enriches instances of OptionsModelRoot or OptionsModelChildwith names.

NameTypeDescription
nameStringThe name to attach to the model.
public string Name { get; }

Gets the attached name.

Create(IServiceProvider, OptionsModelRoot)
Section titled “Create(IServiceProvider, OptionsModelRoot)”
public static NameEnrichment Create(IServiceProvider services, OptionsModelRoot root)
Create(IServiceProvider, OptionsModelChild)
Section titled “Create(IServiceProvider, OptionsModelChild)”
public static NameEnrichment Create(IServiceProvider services, OptionsModelChild child)