2 writes to Failures
Microsoft.Extensions.Options (2)
ValidateOptionsResult.cs (2)
64=> new ValidateOptionsResult { Failed = true, FailureMessage = failureMessage, Failures = new string[] { failureMessage } }; 72=> new ValidateOptionsResult { Failed = true, FailureMessage = string.Join("; ", failures), Failures = failures };
9 references to Failures
Aspire.Dashboard (1)
DashboardWebApplication.cs (1)
457failureMessages = result.Failures;
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (1)
ResourceMonitoringOptionsCustomValidatorTests.cs (1)
74var failureMessage = validationResult.Failures.Single();
Microsoft.Extensions.Http.Resilience.Tests (2)
Hedging\HttpStandardHedgingResilienceOptionsCustomValidatorTests.cs (1)
27validationResult.Failures.Should().HaveCount(3);
Resilience\HttpStandardResilienceOptionsCustomValidatorTests.cs (1)
33Assert.Equal(2, validationResult.Failures.Count());
Microsoft.Extensions.Options (4)
OptionsFactory.cs (1)
82failures.AddRange(result.Failures);
ValidateOptionsResult.cs (1)
44[MemberNotNullWhen(true, nameof(Failures))]
ValidateOptionsResultBuilder.cs (2)
78if (result.Failures is null) 86foreach (var failure in result.Failures)
Microsoft.Extensions.Options.Contextual (1)
Internal\ContextualOptionsFactory.cs (1)
140failures.AddRange(result.Failures);