1 implementation of IAsyncStartupValidator
Microsoft.Extensions.Options (1)
ValidateOnStart.cs (1)
14internal sealed class StartupValidator : IStartupValidator, IAsyncStartupValidator
10 references to IAsyncStartupValidator
Microsoft.Extensions.Hosting (5)
Internal\Host.cs (5)
102IAsyncStartupValidator[] asyncValidators = Array.Empty<IAsyncStartupValidator>(); 107if (startupValidator is not null and not IAsyncStartupValidator) 113asyncValidators = Services.GetServices<IAsyncStartupValidator>().ToArray(); 137foreach (IAsyncStartupValidator asyncValidator in asyncValidators)
Microsoft.Extensions.Options (5)
IAsyncStartupValidator.cs (1)
13/// New implementations should be registered only as <see cref="IAsyncStartupValidator"/>. Do not additionally
IStartupValidator.cs (1)
14/// <see cref="IAsyncStartupValidator"/> instead. When migrating, replace the obsolete registration rather than
OptionsBuilderExtensions.cs (3)
43/// <see cref="IStartupValidator"/> and <see cref="IAsyncStartupValidator"/> as the same singleton. A custom 46/// <see cref="IAsyncStartupValidator"/>. 67ServiceDescriptor.Singleton<IAsyncStartupValidator, StartupValidator>(