9 instantiations of HttpsCertificateAnnotation
Aspire.Hosting (4)
ApplicationModel\HttpsCertificateExecutionConfigurationGatherer.cs (1)
31
var effectiveAnnotation = new
HttpsCertificateAnnotation
();
ResourceBuilderExtensions.cs (3)
2446
var annotation = new
HttpsCertificateAnnotation
2480
var annotation = new
HttpsCertificateAnnotation
2510
var annotation = new
HttpsCertificateAnnotation
Aspire.Hosting.Tests (5)
ResourceExecutionConfigurationGathererTests.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)
31
var
effectiveAnnotation = new HttpsCertificateAnnotation();
32
if (resource.TryGetLastAnnotation<
HttpsCertificateAnnotation
>(out
var
annotation))
ResourceBuilderExtensions.cs (4)
2446
var
annotation = new HttpsCertificateAnnotation
2456
/// Adds a <see cref="
HttpsCertificateAnnotation
"/> to the resource annotations to associate an X.509 certificate key pair with the resource.
2480
var
annotation = new HttpsCertificateAnnotation
2510
var
annotation = new HttpsCertificateAnnotation
Aspire.Hosting.JavaScript (2)
JavaScriptHostingExtensions.cs (2)
635
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)
321
if (!resourceBuilder.Resource.TryGetLastAnnotation<
HttpsCertificateAnnotation
>(out
var
annotation))
Aspire.Hosting.Redis (4)
RedisBuilderExtensions.cs (4)
181
if (!redis.TryGetLastAnnotation<
HttpsCertificateAnnotation
>(out
var
annotation))
391
if (!resource.TryGetLastAnnotation<
HttpsCertificateAnnotation
>(out
var
annotation))
Aspire.Hosting.Redis.Tests (10)
AddRedisTests.cs (10)
742
var
annotation = Assert.Single(redis.Resource.Annotations.OfType<
HttpsCertificateAnnotation
>());
755
var
annotation = Assert.Single(redis.Resource.Annotations.OfType<
HttpsCertificateAnnotation
>());
769
var
annotation = Assert.Single(redis.Resource.Annotations.OfType<
HttpsCertificateAnnotation
>());
784
var
annotation = Assert.Single(redis.Resource.Annotations.OfType<
HttpsCertificateAnnotation
>());
800
var
annotation = Assert.Single(redis.Resource.Annotations.OfType<
HttpsCertificateAnnotation
>());
Aspire.Hosting.Yarp (2)
YarpResourceExtensions.cs (2)
63
if (!resource.TryGetLastAnnotation<
HttpsCertificateAnnotation
>(out
var
annotation))