3 instantiations of ValidateOptions
Microsoft.Extensions.Options (1)
OptionsBuilder.cs (1)
356Services.AddSingleton<IValidateOptions<TOptions>>(new ValidateOptions<TOptions>(Name, validation, failureMessage));
Microsoft.Extensions.Options.Contextual.Tests (2)
ContextualOptionsFactoryTests.cs (2)
41new[] { new ValidateOptions<List<string>>(null, _ => false, "epic fail") }); 54new[] { new ValidateOptions<List<string>>("Foo", _ => false, "epic fail") });
1 reference to ValidateOptions
Microsoft.Extensions.Options (1)
ValidateOptions.cs (1)
15/// Initializes a new instance of <see cref="ValidateOptions{TOptions}"/>.