6 instantiations of HttpsCertificateConfigurationCallbackAnnotation
Aspire.Hosting (2)
Dashboard\DashboardEventHandlers.cs (1)
468
dashboardResource.Annotations.Add(new
HttpsCertificateConfigurationCallbackAnnotation
(ctx =>
ResourceBuilderExtensions.cs (1)
2831
var annotation = new
HttpsCertificateConfigurationCallbackAnnotation
(callback);
Aspire.Hosting.Tests (4)
Dcp\DcpHostNotificationTests.cs (3)
641
resource.Annotations.Add(new
HttpsCertificateConfigurationCallbackAnnotation
(_ => Task.CompletedTask));
694
resource.Annotations.Add(new
HttpsCertificateConfigurationCallbackAnnotation
(_ => Task.CompletedTask));
817
resource.Annotations.Add(new
HttpsCertificateConfigurationCallbackAnnotation
(_ => Task.CompletedTask));
ExecutionConfigurationGathererTests.cs (1)
752
.WithAnnotation(new
HttpsCertificateConfigurationCallbackAnnotation
(ctx =>
26 references to HttpsCertificateConfigurationCallbackAnnotation
Aspire.Hosting (7)
ApplicationModel\HttpsCertificateConfigurationCallbackAnnotaion.cs (1)
22
/// Context provided to a <see cref="
HttpsCertificateConfigurationCallbackAnnotation
"/> callback.
ApplicationModel\HttpsCertificateExecutionConfigurationGatherer.cs (3)
78
foreach (
var
callback in resource.TryGetAnnotationsOfType<
HttpsCertificateConfigurationCallbackAnnotation
>(out var callbacks) ? callbacks : Enumerable.Empty<
HttpsCertificateConfigurationCallbackAnnotation
>())
Dashboard\DashboardEventHandlers.cs (1)
455
!dashboardResource.HasAnnotationOfType<
HttpsCertificateConfigurationCallbackAnnotation
>())
Dcp\DcpHost.cs (1)
563
if (resource.Annotations.OfType<
HttpsCertificateConfigurationCallbackAnnotation
>().Any())
ResourceBuilderExtensions.cs (1)
2831
var
annotation = new HttpsCertificateConfigurationCallbackAnnotation(callback);
Aspire.Hosting.Azure.Tests (6)
AzureCosmosDBExtensionsTests.cs (6)
626
Assert.Contains(cosmos.Resource.Annotations, a => a is
HttpsCertificateConfigurationCallbackAnnotation
);
637
Assert.DoesNotContain(cosmos.Resource.Annotations, a => a is
HttpsCertificateConfigurationCallbackAnnotation
);
647
var
certConfigAnnotation = Assert.Single(
648
cosmos.Resource.Annotations.OfType<
HttpsCertificateConfigurationCallbackAnnotation
>());
681
var
certConfigAnnotation = Assert.Single(
682
cosmos.Resource.Annotations.OfType<
HttpsCertificateConfigurationCallbackAnnotation
>());
Aspire.Hosting.JavaScript.Tests (12)
AddViteAppTests.cs (12)
303
var
certConfigAnnotation = nodeResource.Annotations
304
.OfType<
HttpsCertificateConfigurationCallbackAnnotation
>()
363
var
certConfigAnnotation = nodeResource.Annotations
364
.OfType<
HttpsCertificateConfigurationCallbackAnnotation
>()
414
var
certConfigAnnotation = nodeResource.Annotations
415
.OfType<
HttpsCertificateConfigurationCallbackAnnotation
>()
467
var
certConfigAnnotation = nodeResource.Annotations
468
.OfType<
HttpsCertificateConfigurationCallbackAnnotation
>()
526
var
certConfigAnnotation = nodeResource.Annotations
527
.OfType<
HttpsCertificateConfigurationCallbackAnnotation
>()
601
var
certConfigAnnotation = nodeResource.Annotations
602
.OfType<
HttpsCertificateConfigurationCallbackAnnotation
>()
Aspire.Hosting.Tests (1)
Dashboard\DashboardResourceTests.cs (1)
496
Assert.True(dashboard.HasAnnotationOfType<
HttpsCertificateConfigurationCallbackAnnotation
>());