9 instantiations of HttpsCertificateAnnotation
Aspire.Hosting (4)
ApplicationModel\HttpsCertificateExecutionConfigurationGatherer.cs (1)
32
var effectiveAnnotation = new
HttpsCertificateAnnotation
();
ResourceBuilderExtensions.cs (3)
2519
var annotation = new
HttpsCertificateAnnotation
2553
var annotation = new
HttpsCertificateAnnotation
2583
var annotation = new
HttpsCertificateAnnotation
Aspire.Hosting.Tests (5)
ExecutionConfigurationGathererTests.cs (5)
376
.WithAnnotation(new
HttpsCertificateAnnotation
{ Certificate = cert })
405
.WithAnnotation(new
HttpsCertificateAnnotation
436
.WithAnnotation(new
HttpsCertificateAnnotation
482
.WithAnnotation(new
HttpsCertificateAnnotation
{ Certificate = cert })
518
.WithAnnotation(new
HttpsCertificateAnnotation
{ Certificate = cert })
29 references to HttpsCertificateAnnotation
Aspire.Hosting (7)
ApplicationModel\HttpsCertificateExecutionConfigurationGatherer.cs (3)
32
var
effectiveAnnotation = new HttpsCertificateAnnotation();
33
if (resource.TryGetLastAnnotation<
HttpsCertificateAnnotation
>(out
var
annotation))
ResourceBuilderExtensions.cs (4)
2519
var
annotation = new HttpsCertificateAnnotation
2529
/// Adds a <see cref="
HttpsCertificateAnnotation
"/> to the resource annotations to associate an X.509 certificate key pair with the resource.
2553
var
annotation = new HttpsCertificateAnnotation
2583
var
annotation = new HttpsCertificateAnnotation
Aspire.Hosting.JavaScript (2)
JavaScriptHostingExtensions.cs (2)
639
if (!resourceBuilder.Resource.TryGetLastAnnotation<
HttpsCertificateAnnotation
>(out
var
annotation))
Aspire.Hosting.Keycloak (2)
KeycloakResourceBuilderExtensions.cs (2)
114
if (!resource.TryGetLastAnnotation<
HttpsCertificateAnnotation
>(out
var
annotation))
Aspire.Hosting.Python (2)
PythonAppResourceBuilderExtensions.cs (2)
320
if (!resourceBuilder.Resource.TryGetLastAnnotation<
HttpsCertificateAnnotation
>(out
var
annotation))
Aspire.Hosting.Redis (4)
RedisBuilderExtensions.cs (4)
183
if (!redis.TryGetLastAnnotation<
HttpsCertificateAnnotation
>(out
var
annotation))
398
if (!resource.TryGetLastAnnotation<
HttpsCertificateAnnotation
>(out
var
annotation))
Aspire.Hosting.Redis.Tests (10)
AddRedisTests.cs (10)
766
var
annotation = Assert.Single(redis.Resource.Annotations.OfType<
HttpsCertificateAnnotation
>());
779
var
annotation = Assert.Single(redis.Resource.Annotations.OfType<
HttpsCertificateAnnotation
>());
793
var
annotation = Assert.Single(redis.Resource.Annotations.OfType<
HttpsCertificateAnnotation
>());
808
var
annotation = Assert.Single(redis.Resource.Annotations.OfType<
HttpsCertificateAnnotation
>());
824
var
annotation = Assert.Single(redis.Resource.Annotations.OfType<
HttpsCertificateAnnotation
>());
Aspire.Hosting.Yarp (2)
YarpResourceExtensions.cs (2)
63
if (!resource.TryGetLastAnnotation<
HttpsCertificateAnnotation
>(out
var
annotation))