BindSightBuilder
public sealed class BindSightBuilder
Namespace: RhoMicro.BindSight.Services
Inheritance:
DirectoryBindSightBuilder
Summary
Section titled “Summary”Wraps a service collection for registering and configuring options docs generation.
Constructors
Section titled “Constructors”BindSightBuilder(IServiceCollection)
Section titled “BindSightBuilder(IServiceCollection)”public BindSightBuilder(IServiceCollection services)
Summary
Section titled “Summary”Initializes a new instance.
Parameters
Section titled “Parameters”Name | Type | Description |
---|---|---|
services | IServiceCollection | The service collection to wrap. |
Properties
Section titled “Properties”Services
Section titled “Services”public IServiceCollection Services { get; }
Summary
Section titled “Summary”Gets the wrapped service collection.
Generators
Section titled “Generators”public GeneratorsRegistrations Generators { get; }
Summary
Section titled “Summary”Gets an object for adding options docs generators to the service collection.
TransformationPipeline
Section titled “TransformationPipeline”public TransformationPipelineBuilder TransformationPipeline { get; }
Summary
Section titled “Summary”Gets an object for adding option model transformations to the service collection.
Methods
Section titled “Methods”AddHostedService()
Section titled “AddHostedService()”public BindSightBuilder AddHostedService()
Summary
Section titled “Summary”Adds a hosted service to the service collection for running the options docs runner on application startup.
Returns
Section titled “Returns”A reference to this builder, for chaining of further method calls.
AddDefaults()
Section titled “AddDefaults()”public BindSightBuilder AddDefaults()
Summary
Section titled “Summary”Adds default transformations and generators.
Returns
Section titled “Returns”A reference to this builder, for chaining of further method calls.