16 instantiations of HttpsCertificateAnnotation
Aspire.Hosting (4)
ApplicationModel\HttpsCertificateExecutionConfigurationGatherer.cs (1)
32
var effectiveAnnotation = new
HttpsCertificateAnnotation
();
ResourceBuilderExtensions.cs (3)
2725
var annotation = new
HttpsCertificateAnnotation
2761
var annotation = new
HttpsCertificateAnnotation
2792
var annotation = new
HttpsCertificateAnnotation
Aspire.Hosting.Azure.Tests (4)
AzureCosmosDBExtensionsTests.cs (4)
726
cosmos.WithAnnotation(new
HttpsCertificateAnnotation
757
cosmos.WithAnnotation(new
HttpsCertificateAnnotation
787
cosmos.WithAnnotation(new
HttpsCertificateAnnotation
816
cosmos.WithAnnotation(new
HttpsCertificateAnnotation
Aspire.Hosting.Tests (8)
Dcp\DcpHostNotificationTests.cs (3)
696
resource.Annotations.Add(new
HttpsCertificateAnnotation
757
resource.Annotations.Add(new
HttpsCertificateAnnotation
818
resource.Annotations.Add(new
HttpsCertificateAnnotation
ExecutionConfigurationGathererTests.cs (5)
609
.WithAnnotation(new
HttpsCertificateAnnotation
{ Certificate = cert })
638
.WithAnnotation(new
HttpsCertificateAnnotation
669
.WithAnnotation(new
HttpsCertificateAnnotation
715
.WithAnnotation(new
HttpsCertificateAnnotation
{ Certificate = cert })
751
.WithAnnotation(new
HttpsCertificateAnnotation
{ Certificate = cert })
23 references to HttpsCertificateAnnotation
Aspire.Hosting (13)
ApplicationModel\HttpsCertificateExecutionConfigurationGatherer.cs (3)
32
var
effectiveAnnotation = new HttpsCertificateAnnotation();
33
if (resource.TryGetLastAnnotation<
HttpsCertificateAnnotation
>(out
var
annotation))
Dcp\DcpHost.cs (2)
567
if (resource.TryGetLastAnnotation<
HttpsCertificateAnnotation
>(out
var
certAnnotation)
ResourceBuilderExtensions.cs (8)
2725
var
annotation = new HttpsCertificateAnnotation
2735
/// Adds a <see cref="
HttpsCertificateAnnotation
"/> to the resource annotations to associate an X.509 certificate key pair with the resource.
2761
var
annotation = new HttpsCertificateAnnotation
2792
var
annotation = new HttpsCertificateAnnotation
2849
/// <item>No <see cref="
HttpsCertificateAnnotation
"/> is present and the <see cref="IDeveloperCertificateService"/> indicates
2851
/// <item>An <see cref="
HttpsCertificateAnnotation
"/> is present that requests a developer certificate or provides a custom certificate.</item>
2878
if (!resource.TryGetLastAnnotation<
HttpsCertificateAnnotation
>(out
var
annotation))
Aspire.Hosting.Redis.Tests (10)
AddRedisTests.cs (10)
736
var
annotation = Assert.Single(redis.Resource.Annotations.OfType<
HttpsCertificateAnnotation
>());
749
var
annotation = Assert.Single(redis.Resource.Annotations.OfType<
HttpsCertificateAnnotation
>());
763
var
annotation = Assert.Single(redis.Resource.Annotations.OfType<
HttpsCertificateAnnotation
>());
778
var
annotation = Assert.Single(redis.Resource.Annotations.OfType<
HttpsCertificateAnnotation
>());
794
var
annotation = Assert.Single(redis.Resource.Annotations.OfType<
HttpsCertificateAnnotation
>());