Dijeli putem


IStartupValidator Interface

Definition

Interface used by hosts 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