1 implementation of IAsyncStartupValidator
Microsoft.Extensions.Options (1)
ValidateOnStart.cs (1)
14
internal sealed class StartupValidator : IStartupValidator,
IAsyncStartupValidator
10 references to IAsyncStartupValidator
Microsoft.Extensions.Hosting (5)
Internal\Host.cs (5)
102
IAsyncStartupValidator
[] asyncValidators = Array.Empty<
IAsyncStartupValidator
>();
107
if (startupValidator is not null and not
IAsyncStartupValidator
)
113
asyncValidators = Services.GetServices<
IAsyncStartupValidator
>().ToArray();
137
foreach (
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
"/>.
67
ServiceDescriptor.Singleton<
IAsyncStartupValidator
, StartupValidator>(