9 instantiations of HttpsCertificateAnnotation
Aspire.Hosting (4)
ApplicationModel\HttpsCertificateExecutionConfigurationGatherer.cs (1)
32
var effectiveAnnotation = new
HttpsCertificateAnnotation
();
ResourceBuilderExtensions.cs (3)
2539
var annotation = new
HttpsCertificateAnnotation
2573
var annotation = new
HttpsCertificateAnnotation
2603
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)
2539
var
annotation = new HttpsCertificateAnnotation
2549
/// Adds a <see cref="
HttpsCertificateAnnotation
"/> to the resource annotations to associate an X.509 certificate key pair with the resource.
2573
var
annotation = new HttpsCertificateAnnotation
2603
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)
758
var
annotation = Assert.Single(redis.Resource.Annotations.OfType<
HttpsCertificateAnnotation
>());
771
var
annotation = Assert.Single(redis.Resource.Annotations.OfType<
HttpsCertificateAnnotation
>());
785
var
annotation = Assert.Single(redis.Resource.Annotations.OfType<
HttpsCertificateAnnotation
>());
800
var
annotation = Assert.Single(redis.Resource.Annotations.OfType<
HttpsCertificateAnnotation
>());
816
var
annotation = Assert.Single(redis.Resource.Annotations.OfType<
HttpsCertificateAnnotation
>());
Aspire.Hosting.Yarp (2)
YarpResourceExtensions.cs (2)
63
if (!resource.TryGetLastAnnotation<
HttpsCertificateAnnotation
>(out
var
annotation))