Skip to content

ReadmeGenerator

public sealed class ReadmeGenerator

Namespace: RhoMicro.BindSight.Generators

Inheritance:

Generates a readme file outlining the available options.

ReadmeGenerator(IReadmeGeneratorOptions, ILogger<ReadmeGenerator>)
Section titled “ReadmeGenerator(IReadmeGeneratorOptions, ILogger<ReadmeGenerator>)”
public ReadmeGenerator(IReadmeGeneratorOptions readmeOptions, ILogger<ReadmeGenerator> logger)

Generates a readme file outlining the available options.

NameTypeDescription
loggerILogger<ReadmeGenerator>The logger to use.
readmeOptionsIReadmeGeneratorOptionsThe options to use.
Run(IBindSightGeneratorOptions, CancellationToken)
Section titled “Run(IBindSightGeneratorOptions, CancellationToken)”
public ValueTask Run(IBindSightGeneratorOptions optionsDocsGeneratorOptions, [CancellationToken cancellationToken = default(CancellationToken)])

Runs the generator.

NameTypeDescription
cancellationTokenCancellationTokenThe cancellation token used to request generating to be cancelled.
optionsDocsGeneratorOptionsIBindSightGeneratorOptionsThe options to use.

A task representing the generating of documentation.