17 instantiations of HttpsCertificateAnnotation
Aspire.Hosting (4)
ApplicationModel\HttpsCertificateExecutionConfigurationGatherer.cs (1)
32var effectiveAnnotation = new HttpsCertificateAnnotation();
ResourceBuilderExtensions.cs (3)
4179var annotation = new HttpsCertificateAnnotation 4215var annotation = new HttpsCertificateAnnotation 4247var annotation = new HttpsCertificateAnnotation
Aspire.Hosting.Azure.Tests (4)
AzureCosmosDBExtensionsTests.cs (4)
782cosmos.WithAnnotation(new HttpsCertificateAnnotation 813cosmos.WithAnnotation(new HttpsCertificateAnnotation 843cosmos.WithAnnotation(new HttpsCertificateAnnotation 872cosmos.WithAnnotation(new HttpsCertificateAnnotation
Aspire.Hosting.Keycloak.Tests (1)
KeycloakResourceBuilderTests.cs (1)
72keycloak.WithAnnotation(new HttpsCertificateAnnotation
Aspire.Hosting.Tests (8)
Dcp\DcpHostNotificationTests.cs (3)
920resource.Annotations.Add(new HttpsCertificateAnnotation 979resource.Annotations.Add(new HttpsCertificateAnnotation 1038resource.Annotations.Add(new HttpsCertificateAnnotation
ExecutionConfigurationGathererTests.cs (5)
678.WithAnnotation(new HttpsCertificateAnnotation { Certificate = cert }) 708.WithAnnotation(new HttpsCertificateAnnotation 739.WithAnnotation(new HttpsCertificateAnnotation 785.WithAnnotation(new HttpsCertificateAnnotation { Certificate = cert }) 824.WithAnnotation(new HttpsCertificateAnnotation { Certificate = cert })
23 references to HttpsCertificateAnnotation
Aspire.Hosting (13)
ApplicationModel\HttpsCertificateExecutionConfigurationGatherer.cs (3)
32var effectiveAnnotation = new HttpsCertificateAnnotation(); 33if (resource.TryGetLastAnnotation<HttpsCertificateAnnotation>(out var annotation))
Dcp\DcpHost.cs (2)
677if (resource.TryGetLastAnnotation<HttpsCertificateAnnotation>(out var certAnnotation)
ResourceBuilderExtensions.cs (8)
4179var annotation = new HttpsCertificateAnnotation 4189/// Adds a <see cref="HttpsCertificateAnnotation"/> to the resource annotations to associate an X.509 certificate key pair with the resource. 4215var annotation = new HttpsCertificateAnnotation 4247var annotation = new HttpsCertificateAnnotation 4303/// <item>No <see cref="HttpsCertificateAnnotation"/> is present and the <see cref="IDeveloperCertificateService"/> indicates 4305/// <item>An <see cref="HttpsCertificateAnnotation"/> is present that requests a developer certificate or provides a custom certificate.</item> 4331if (!resource.TryGetLastAnnotation<HttpsCertificateAnnotation>(out var annotation))
Aspire.Hosting.Redis.Tests (10)
AddRedisTests.cs (10)
788var annotation = Assert.Single(redis.Resource.Annotations.OfType<HttpsCertificateAnnotation>()); 801var annotation = Assert.Single(redis.Resource.Annotations.OfType<HttpsCertificateAnnotation>()); 815var annotation = Assert.Single(redis.Resource.Annotations.OfType<HttpsCertificateAnnotation>()); 830var annotation = Assert.Single(redis.Resource.Annotations.OfType<HttpsCertificateAnnotation>()); 846var annotation = Assert.Single(redis.Resource.Annotations.OfType<HttpsCertificateAnnotation>());