9 instantiations of HttpsCertificateAnnotation
Aspire.Hosting (4)
ApplicationModel\HttpsCertificateExecutionConfigurationGatherer.cs (1)
32
var effectiveAnnotation = new
HttpsCertificateAnnotation
();
ResourceBuilderExtensions.cs (3)
2505
var annotation = new
HttpsCertificateAnnotation
2539
var annotation = new
HttpsCertificateAnnotation
2569
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)
2505
var
annotation = new HttpsCertificateAnnotation
2515
/// Adds a <see cref="
HttpsCertificateAnnotation
"/> to the resource annotations to associate an X.509 certificate key pair with the resource.
2539
var
annotation = new HttpsCertificateAnnotation
2569
var
annotation = new HttpsCertificateAnnotation
Aspire.Hosting.JavaScript (2)
JavaScriptHostingExtensions.cs (2)
638
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)
183
if (!redis.TryGetLastAnnotation<
HttpsCertificateAnnotation
>(out
var
annotation))
395
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))