Sprog

IAsyncStartupValidator Interface

Definition

Provides asynchronous options validation during host startup.

public interface class IAsyncStartupValidator
public interface IAsyncStartupValidator
type IAsyncStartupValidator = interface
Public Interface IAsyncStartupValidator

Remarks

New implementations should be registered only as IAsyncStartupValidator. Do not additionally register a custom implementation as IStartupValidator; that interface is retained for compatibility with existing synchronous startup validators.

Methods

Name Description
ValidateAsync(CancellationToken)

Validates options asynchronously during host startup.

Applies to