4 writes to Source
Aspire.Dashboard.Tests (4)
DashboardOptionsTests.cs (4)
127
options.ResourceServiceClient.ClientCertificate.
Source
= DashboardClientCertificateSource.File;
142
options.ResourceServiceClient.ClientCertificate.
Source
= DashboardClientCertificateSource.KeyStore;
157
options.ResourceServiceClient.ClientCertificate.
Source
= null;
171
options.ResourceServiceClient.ClientCertificate.
Source
= (DashboardClientCertificateSource)int.MaxValue;
5 references to Source
Aspire.Dashboard (3)
Configuration\ValidateDashboardOptions.cs (2)
116
switch (options.ResourceServiceClient.ClientCertificate.
Source
)
134
errorMessages.Add($"Unexpected resource service client certificate source: {options.ResourceServiceClient.ClientCertificate.
Source
}");
ResourceService\DashboardClient.cs (1)
130
var certificates = _dashboardOptions.ResourceServiceClient.ClientCertificate.
Source
switch
Aspire.Dashboard.Tests (2)
DashboardOptionsTests.cs (1)
176
Assert.Equal($"Unexpected resource service client certificate source: {options.ResourceServiceClient.ClientCertificate.
Source
}", result.FailureMessage);
Integration\StartupTests.cs (1)
476
Assert.Equal(DashboardClientCertificateSource.KeyStore, app.DashboardOptionsMonitor.CurrentValue.ResourceServiceClient.ClientCertificate.
Source
);