다음을 통해 공유


OptionsBuilderExtensions Class

Definition

Extension methods for adding configuration-related options services to the DI container via OptionsBuilder<TOptions>.

public ref class OptionsBuilderExtensions abstract sealed
public static class OptionsBuilderExtensions
type OptionsBuilderExtensions = class
Public Module OptionsBuilderExtensions
Inheritance
OptionsBuilderExtensions

Methods

ValidateOnStart<TOptions>(OptionsBuilder<TOptions>)

Enforces options validation check on start rather than at run time.

Applies to