17 instantiations of HttpsCertificateAnnotation
Aspire.Hosting (4)
ApplicationModel\HttpsCertificateExecutionConfigurationGatherer.cs (1)
32
var effectiveAnnotation = new
HttpsCertificateAnnotation
();
ResourceBuilderExtensions.cs (3)
4607
var annotation = new
HttpsCertificateAnnotation
4643
var annotation = new
HttpsCertificateAnnotation
4675
var annotation = new
HttpsCertificateAnnotation
Aspire.Hosting.Azure.Tests (4)
AzureCosmosDBExtensionsTests.cs (4)
798
cosmos.WithAnnotation(new
HttpsCertificateAnnotation
829
cosmos.WithAnnotation(new
HttpsCertificateAnnotation
859
cosmos.WithAnnotation(new
HttpsCertificateAnnotation
888
cosmos.WithAnnotation(new
HttpsCertificateAnnotation
Aspire.Hosting.Keycloak.Tests (1)
KeycloakResourceBuilderTests.cs (1)
72
keycloak.WithAnnotation(new
HttpsCertificateAnnotation
Aspire.Hosting.Tests (8)
Dcp\DcpHostNotificationTests.cs (3)
1207
resource.Annotations.Add(new
HttpsCertificateAnnotation
1253
resource.Annotations.Add(new
HttpsCertificateAnnotation
1299
resource.Annotations.Add(new
HttpsCertificateAnnotation
ExecutionConfigurationGathererTests.cs (5)
755
.WithAnnotation(new
HttpsCertificateAnnotation
{ Certificate = cert })
785
.WithAnnotation(new
HttpsCertificateAnnotation
816
.WithAnnotation(new
HttpsCertificateAnnotation
862
.WithAnnotation(new
HttpsCertificateAnnotation
{ Certificate = cert })
901
.WithAnnotation(new
HttpsCertificateAnnotation
{ Certificate = cert })
30 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)
776
if (resource.TryGetLastAnnotation<
HttpsCertificateAnnotation
>(out
var
certAnnotation)
ResourceBuilderExtensions.cs (8)
4607
var
annotation = new HttpsCertificateAnnotation
4617
/// Adds a <see cref="
HttpsCertificateAnnotation
"/> to the resource annotations to associate an X.509 certificate key pair with the resource.
4643
var
annotation = new HttpsCertificateAnnotation
4675
var
annotation = new HttpsCertificateAnnotation
4731
/// <item>No <see cref="
HttpsCertificateAnnotation
"/> is present and the <see cref="IDeveloperCertificateService"/> indicates
4733
/// <item>An <see cref="
HttpsCertificateAnnotation
"/> is present that requests a developer certificate or provides a custom certificate.</item>
4759
if (!resource.TryGetLastAnnotation<
HttpsCertificateAnnotation
>(out
var
annotation))
Aspire.Hosting.MongoDB (3)
MongoDBBuilderExtensions.cs (2)
149
(mongoServerResource.TryGetLastAnnotation<
HttpsCertificateAnnotation
>(out
var
certificateAnnotation) && certificateAnnotation.Certificate is not null)
ReplicaSet\MongoDBReplicaSetBuilderExtensions.cs (1)
457
if (!member.Resource.HasAnnotationOfType<
HttpsCertificateAnnotation
>())
Aspire.Hosting.MongoDB.Tests (4)
ReplicaSet\AddMongoDBReplicaSetTests.cs (4)
198
var
annotation = Assert.Single(mongo1.Resource.Annotations.OfType<
HttpsCertificateAnnotation
>());
210
var
annotation = Assert.Single(mongo1.Resource.Annotations.OfType<
HttpsCertificateAnnotation
>());
Aspire.Hosting.Redis.Tests (10)
AddRedisTests.cs (10)
923
var
annotation = Assert.Single(redis.Resource.Annotations.OfType<
HttpsCertificateAnnotation
>());
936
var
annotation = Assert.Single(redis.Resource.Annotations.OfType<
HttpsCertificateAnnotation
>());
950
var
annotation = Assert.Single(redis.Resource.Annotations.OfType<
HttpsCertificateAnnotation
>());
965
var
annotation = Assert.Single(redis.Resource.Annotations.OfType<
HttpsCertificateAnnotation
>());
981
var
annotation = Assert.Single(redis.Resource.Annotations.OfType<
HttpsCertificateAnnotation
>());