6 instantiations of HttpsCertificateConfigurationCallbackAnnotation
Aspire.Hosting (2)
Dashboard\DashboardEventHandlers.cs (1)
284
dashboardResource.Annotations.Add(new
HttpsCertificateConfigurationCallbackAnnotation
(ctx =>
ResourceBuilderExtensions.cs (1)
4693
var annotation = new
HttpsCertificateConfigurationCallbackAnnotation
(callback);
Aspire.Hosting.Tests (4)
Dcp\DcpHostNotificationTests.cs (3)
905
resource.Annotations.Add(new
HttpsCertificateConfigurationCallbackAnnotation
(_ => Task.CompletedTask));
956
resource.Annotations.Add(new
HttpsCertificateConfigurationCallbackAnnotation
(_ => Task.CompletedTask));
1049
resource.Annotations.Add(new
HttpsCertificateConfigurationCallbackAnnotation
(_ => Task.CompletedTask));
ExecutionConfigurationGathererTests.cs (1)
881
.WithAnnotation(new
HttpsCertificateConfigurationCallbackAnnotation
(ctx =>
32 references to HttpsCertificateConfigurationCallbackAnnotation
Aspire.Hosting (7)
ApplicationModel\HttpsCertificateConfigurationCallbackAnnotaion.cs (1)
22
/// Context provided to a <see cref="
HttpsCertificateConfigurationCallbackAnnotation
"/> callback.
ApplicationModel\HttpsCertificateExecutionConfigurationGatherer.cs (3)
80
foreach (
var
callback in resource.TryGetAnnotationsOfType<
HttpsCertificateConfigurationCallbackAnnotation
>(out var callbacks) ? callbacks : Enumerable.Empty<
HttpsCertificateConfigurationCallbackAnnotation
>())
Dashboard\DashboardEventHandlers.cs (1)
271
!dashboardResource.HasAnnotationOfType<
HttpsCertificateConfigurationCallbackAnnotation
>())
Dcp\DcpHost.cs (1)
764
if (resource.Annotations.OfType<
HttpsCertificateConfigurationCallbackAnnotation
>().Any())
ResourceBuilderExtensions.cs (1)
4693
var
annotation = new HttpsCertificateConfigurationCallbackAnnotation(callback);
Aspire.Hosting.Azure.Tests (6)
AzureCosmosDBExtensionsTests.cs (6)
665
Assert.Contains(cosmos.Resource.Annotations, a => a is
HttpsCertificateConfigurationCallbackAnnotation
);
676
Assert.DoesNotContain(cosmos.Resource.Annotations, a => a is
HttpsCertificateConfigurationCallbackAnnotation
);
686
var
certConfigAnnotation = Assert.Single(
687
cosmos.Resource.Annotations.OfType<
HttpsCertificateConfigurationCallbackAnnotation
>());
753
var
certConfigAnnotation = Assert.Single(
754
cosmos.Resource.Annotations.OfType<
HttpsCertificateConfigurationCallbackAnnotation
>());
Aspire.Hosting.JavaScript.Tests (18)
AddViteAppTests.cs (18)
562
var
certConfigAnnotation = nodeResource.Annotations
563
.OfType<
HttpsCertificateConfigurationCallbackAnnotation
>()
622
var
certConfigAnnotation = nodeResource.Annotations
623
.OfType<
HttpsCertificateConfigurationCallbackAnnotation
>()
674
var
certConfigAnnotation = nodeResource.Annotations
675
.OfType<
HttpsCertificateConfigurationCallbackAnnotation
>()
721
var
certConfigAnnotation = nodeResource.Annotations
722
.OfType<
HttpsCertificateConfigurationCallbackAnnotation
>()
769
var
certConfigAnnotation = nodeResource.Annotations
770
.OfType<
HttpsCertificateConfigurationCallbackAnnotation
>()
832
var
certConfigAnnotation = viteResource.Annotations
833
.OfType<
HttpsCertificateConfigurationCallbackAnnotation
>()
926
var
certConfigAnnotation = resource.Annotations
927
.OfType<
HttpsCertificateConfigurationCallbackAnnotation
>()
1009
var
certConfigAnnotation = nodeResource.Annotations
1010
.OfType<
HttpsCertificateConfigurationCallbackAnnotation
>()
1122
var
certConfigAnnotation = resource.Annotations
1123
.OfType<
HttpsCertificateConfigurationCallbackAnnotation
>()
Aspire.Hosting.Tests (1)
Dashboard\DashboardResourceTests.cs (1)
644
Assert.True(dashboard.HasAnnotationOfType<
HttpsCertificateConfigurationCallbackAnnotation
>());