1 write to Succeeded
Microsoft.Extensions.Options (1)
ValidateOptionsResult.cs (1)
23public static readonly ValidateOptionsResult Success = new ValidateOptionsResult() { Succeeded = true };
36 references to Succeeded
Aspire.Dashboard.Tests (18)
DashboardOptionsTests.cs (18)
36Assert.True(result.Succeeded); 49Assert.False(result.Succeeded); 61Assert.False(result.Succeeded); 73Assert.False(result.Succeeded); 87Assert.False(result.Succeeded); 103Assert.False(result.Succeeded); 117Assert.False(result.Succeeded); 132Assert.False(result.Succeeded); 147Assert.False(result.Succeeded); 161Assert.False(result.Succeeded); 175Assert.False(result.Succeeded); 188Assert.False(result.Succeeded); 201Assert.False(result.Succeeded); 218Assert.False(result.Succeeded); 232Assert.False(result.Succeeded); 244Assert.False(result.Succeeded); 261Assert.False(result.Succeeded); 274Assert.False(result.Succeeded);
Aspire.Hosting.Tests (6)
Dashboard\TransportOptionsValidatorTests.cs (6)
45Assert.True(result.Succeeded, result.FailureMessage); 63Assert.True(result.Succeeded, result.FailureMessage); 81Assert.True(result.Succeeded, result.FailureMessage); 295Assert.True(result.Succeeded, result.FailureMessage); 311Assert.True(result.Succeeded, result.FailureMessage); 329Assert.True(result.Succeeded, result.FailureMessage);
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (1)
Latency\RequestLatencyTelemetryOptionsValidatorTests.cs (1)
26Assert.True(validationResult.Succeeded);
Microsoft.Extensions.AmbientMetadata.Application.Tests (1)
ApplicationMetadataValidatorTests.cs (1)
27result.Succeeded.Should().BeTrue();
Microsoft.Extensions.Compliance.Testing (1)
FakeRedactor.cs (1)
45if (r.Succeeded)
Microsoft.Extensions.Compliance.Testing.Tests (1)
FakeRedactorOptionsValidatorTests.cs (1)
22Assert.False(validationResult.Succeeded, "Validator passed when it should fail.");
Microsoft.Extensions.Diagnostics.Probes.Tests (2)
KubernetesProbesOptionsValidatorTests.cs (2)
21Assert.True(result.Succeeded); 34Assert.True(result.Succeeded);
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (3)
ResourceMonitoringOptionsCustomValidatorTests.cs (2)
40Assert.True(result.Succeeded); 55var isValid = validator.Validate(nameof(options), options).Succeeded;
ResourceMonitoringOptionsValidatorTests.cs (1)
24var isValid = validator.Validate(nameof(options), options).Succeeded;
Microsoft.Extensions.Http.Diagnostics.Tests (1)
Logging\LoggingOptionsValidatorTest.cs (1)
27result.Succeeded.Should().BeTrue();
Microsoft.Extensions.Http.Resilience.Tests (2)
Hedging\HttpStandardHedgingResilienceOptionsCustomValidatorTests.cs (1)
38validationResult.Succeeded.Should().BeTrue();
Resilience\HttpStandardResilienceOptionsCustomValidatorTests.cs (1)
44Assert.True(validationResult.Succeeded);