Redigera

Dela via


OptionConfigureExtensionMethods Class

Definition

Extension methods on IServiceCollection, to provider better usability to IOptionFormatter.

public static class OptionConfigureExtensionMethods
type OptionConfigureExtensionMethods = class
Public Module OptionConfigureExtensionMethods
Inheritance
OptionConfigureExtensionMethods

Methods

ConfigureFormatter<TOptions,TOptionFormatter>(IServiceCollection)

Configures an options formatter for TOptions.

ConfigureFormatter<TOptions>(IServiceCollection)

Configures an options formatter for TOptions.

ConfigureFormatterResolver<TOptions,TOptionFormatterResolver>(IServiceCollection)

Configures an options formatter resolver for TOptions.

ConfigureNamedOptionForLogging<TOptions>(IServiceCollection, String)

Configures a named option to be logged.

TryConfigureFormatter<TOptions,TOptionFormatter>(IServiceCollection)

Configures an options formatter for TOptions if none are already configured.

TryConfigureFormatterResolver<TOptions,TOptionFormatterResolver>(IServiceCollection)

Configure option formatter resolver for named option TOptions, if none is configured

Applies to