PipelinedBindSightGeneratorOptionsProvider
public sealed class PipelinedBindSightGeneratorOptionsProvider
Namespace: RhoMicro.BindSight.Generators
Inheritance:
Summary
Section titled “Summary”Provides generator options using options transformed by TransformationPipeline.
Constructors
Section titled “Constructors”PipelinedBindSightGeneratorOptionsProvider(IBindSightGeneratorOptions, IEnumerable<ServiceDescriptor>, IConfigurationRoot, TransformationPipeline, EnrichmentFactory)
Section titled “PipelinedBindSightGeneratorOptionsProvider(IBindSightGeneratorOptions, IEnumerable<ServiceDescriptor>, IConfigurationRoot, TransformationPipeline, EnrichmentFactory)”public PipelinedBindSightGeneratorOptionsProvider(IBindSightGeneratorOptions optionsDocsGeneratorOptions, IEnumerable<ServiceDescriptor> services, IConfigurationRoot configuration, TransformationPipeline pipeline, EnrichmentFactory enrichmentFactory)
Summary
Section titled “Summary”Provides generator options using options transformed by TransformationPipeline.
Parameters
Section titled “Parameters”Name | Type | Description |
---|---|---|
configuration | IConfigurationRoot | The configuration root to extract configuration providers from. |
enrichmentFactory | EnrichmentFactory | The enrichment factory to pass to created models. |
optionsDocsGeneratorOptions | IBindSightGeneratorOptions | The options to use. |
pipeline | TransformationPipeline | The transformation pipeline to use when transforming option models. |
services | IEnumerable<ServiceDescriptor> | The list of services to extract options from. |
Methods
Section titled “Methods”GetOptions(CancellationToken)
Section titled “GetOptions(CancellationToken)”public ValueTask<IBindSightGeneratorOptions> GetOptions([CancellationToken cancellationToken = default(CancellationToken)])
Summary
Section titled “Summary”Gets the options to use.
Parameters
Section titled “Parameters”Name | Type | Description |
---|---|---|
cancellationToken | CancellationToken | The cancellation token used to request options retrieval to be cancelled. |
Returns
Section titled “Returns”A task, that, upon completion, will contain the options to use.