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)
490
failureMessages = result.
Failures
;
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (1)
ResourceMonitoringOptionsCustomValidatorTests.cs (1)
74
var failureMessage = validationResult.
Failures
.Single();
Microsoft.Extensions.Http.Resilience.Tests (2)
Hedging\HttpStandardHedgingResilienceOptionsCustomValidatorTests.cs (1)
27
validationResult.
Failures
.Should().HaveCount(3);
Resilience\HttpStandardResilienceOptionsCustomValidatorTests.cs (1)
33
Assert.Equal(2, validationResult.
Failures
.Count());
Microsoft.Extensions.Options (4)
OptionsFactory.cs (1)
82
failures.AddRange(result.
Failures
);
ValidateOptionsResult.cs (1)
44
[MemberNotNullWhen(true, nameof(
Failures
))]
ValidateOptionsResultBuilder.cs (2)
78
if (result.
Failures
is null)
86
foreach (var failure in result.
Failures
)
Microsoft.Extensions.Options.Contextual (1)
Internal\ContextualOptionsFactory.cs (1)
140
failures.AddRange(result.
Failures
);