19 implementations of Validate
Aspire.Dashboard (1)
Configuration\ValidateDashboardOptions.cs (1)
23public ValidateOptionsResult Validate(string? name, DashboardOptions options)
Aspire.Hosting (3)
Dashboard\DashboardOptions.cs (1)
39public ValidateOptionsResult Validate(string? name, DashboardOptions options)
Dashboard\ResourceServiceOptions.cs (1)
44public ValidateOptionsResult Validate(string? name, ResourceServiceOptions options)
Dcp\DcpOptions.cs (1)
82public ValidateOptionsResult Validate(string? name, DcpOptions options)
Microsoft.AspNetCore.HeaderParsing (1)
HeaderParsingOptionsManualValidator.cs (1)
10public ValidateOptionsResult Validate(string? name, HeaderParsingOptions options)
Microsoft.Extensions.Compliance.Testing (1)
FakeRedactorOptionsCustomValidator.cs (1)
14public ValidateOptionsResult Validate(string? name, FakeRedactorOptions options)
Microsoft.Extensions.Diagnostics.Probes (1)
KubernetesProbesOptionsValidator.cs (1)
10public ValidateOptionsResult Validate(string? name, KubernetesProbesOptions options)
Microsoft.Extensions.Diagnostics.ResourceMonitoring (1)
ResourceMonitoringOptionsCustomValidator.cs (1)
12public ValidateOptionsResult Validate(string? name, ResourceMonitoringOptions options)
Microsoft.Extensions.Http.Resilience (2)
Hedging\Internals\Validators\HttpStandardHedgingResilienceOptionsCustomValidator.cs (1)
13public ValidateOptionsResult Validate(string? name, HttpStandardHedgingResilienceOptions options)
Resilience\Internal\Validators\HttpStandardResilienceOptionsCustomValidator.cs (1)
13public ValidateOptionsResult Validate(string? name, HttpStandardResilienceOptions options)
Microsoft.Extensions.Options (6)
ValidateOptions.cs (6)
50public ValidateOptionsResult Validate(string? name, TOptions options) 117public ValidateOptionsResult Validate(string? name, TOptions options) 192public ValidateOptionsResult Validate(string? name, TOptions options) 275public ValidateOptionsResult Validate(string? name, TOptions options) 366public ValidateOptionsResult Validate(string? name, TOptions options) 465public ValidateOptionsResult Validate(string? name, TOptions options)
Microsoft.Extensions.Options.DataAnnotations (1)
DataAnnotationValidateOptions.cs (1)
46public ValidateOptionsResult Validate(string? name, TOptions options)
Microsoft.Extensions.ServiceDiscovery (2)
Configuration\ConfigurationServiceEndpointProviderOptionsValidator.cs (1)
10public ValidateOptionsResult Validate(string? name, ConfigurationServiceEndpointProviderOptions options)
Internal\ServiceDiscoveryOptionsValidator.cs (1)
10public ValidateOptionsResult Validate(string? name, ServiceDiscoveryOptions options)
4 references to Validate
Microsoft.Extensions.Compliance.Testing (2)
FakeRedactor.cs (2)
44var r = validator.Validate(nameof(options), opt.Value); 48r = validator.Validate(nameof(options), opt.Value);
Microsoft.Extensions.Options (1)
OptionsFactory.cs (1)
79ValidateOptionsResult result = validate.Validate(name, options);
Microsoft.Extensions.Options.Contextual (1)
Internal\ContextualOptionsFactory.cs (1)
137ValidateOptionsResult result = validate.Validate(name, options);