IStartupValidator Interface

Definition

Provides a method that hosts can use to validate options during startup. Options are enabled to be validated during startup by calling ValidateOnStart<TOptions>(OptionsBuilder<TOptions>).

public interface class IStartupValidator
public interface IStartupValidator
type IStartupValidator = interface
Public Interface IStartupValidator

Methods

Validate()

Calls the IValidateOptions<TOptions> validators.

Applies to