EnrichmentFactory
public sealed class EnrichmentFactory
Namespace: RhoMicro.BindSight.Enrichments
Inheritance:
DirectoryEnrichmentFactory
Summary
Section titled “Summary”Creates enrichments.
Constructors
Section titled “Constructors”EnrichmentFactory(IServiceProvider)
Section titled “EnrichmentFactory(IServiceProvider)”public EnrichmentFactory(IServiceProvider services)
Summary
Section titled “Summary”Creates enrichments.
Parameters
Section titled “Parameters”Name | Type | Description |
---|---|---|
services | IServiceProvider | The service collection to resolve enrichments instances from. |
Methods
Section titled “Methods”CreateEnrichment<T>(OptionsModel)
Section titled “CreateEnrichment<T>(OptionsModel)”public T CreateEnrichment<T>(OptionsModel model) where T : IOptionsModelEnrichment<T>
Summary
Section titled “Summary”Creates an enrichment of type T.
Type Parameters
Section titled “Type Parameters”Name | Description | Constraints |
---|---|---|
T | The type of enrichment to create. | IOptionsModelEnrichment<T> |
Parameters
Section titled “Parameters”Name | Type | Description |
---|---|---|
model | OptionsModel | The model to create an enrichment for. |
Returns
Section titled “Returns”The created enrichment.
CreateEnrichment<T>(OptionsModelChild)
Section titled “CreateEnrichment<T>(OptionsModelChild)”public T CreateEnrichment<T>(OptionsModelChild child) where T : IOptionsModelChildEnrichment<T>
Summary
Section titled “Summary”Creates an enrichment of type T.
Type Parameters
Section titled “Type Parameters”Name | Description | Constraints |
---|---|---|
T | The type of enrichment to create. | IOptionsModelChildEnrichment<T> |
Parameters
Section titled “Parameters”Name | Type | Description |
---|---|---|
child | OptionsModelChild | The model to create an enrichment for. |
Returns
Section titled “Returns”The created enrichment.
CreateEnrichment<T>(OptionsModelRoot)
Section titled “CreateEnrichment<T>(OptionsModelRoot)”public T CreateEnrichment<T>(OptionsModelRoot root) where T : IOptionsModelRootEnrichment<T>
Summary
Section titled “Summary”Creates an enrichment of type T.
Type Parameters
Section titled “Type Parameters”Name | Description | Constraints |
---|---|---|
T | The type of enrichment to create. | IOptionsModelRootEnrichment<T> |
Parameters
Section titled “Parameters”Name | Type | Description |
---|---|---|
root | OptionsModelRoot | The model to create an enrichment for. |
Returns
Section titled “Returns”The created enrichment.