6 instantiations of HttpsCertificateConfigurationCallbackAnnotation
Aspire.Hosting (2)
Dashboard\DashboardEventHandlers.cs (1)
284
dashboardResource.Annotations.Add(new
HttpsCertificateConfigurationCallbackAnnotation
(ctx =>
ResourceBuilderExtensions.cs (1)
4711
var annotation = new
HttpsCertificateConfigurationCallbackAnnotation
(callback);
Aspire.Hosting.Tests (4)
Dcp\DcpHostNotificationTests.cs (3)
1154
resource.Annotations.Add(new
HttpsCertificateConfigurationCallbackAnnotation
(_ => Task.CompletedTask));
1205
resource.Annotations.Add(new
HttpsCertificateConfigurationCallbackAnnotation
(_ => Task.CompletedTask));
1298
resource.Annotations.Add(new
HttpsCertificateConfigurationCallbackAnnotation
(_ => Task.CompletedTask));
ExecutionConfigurationGathererTests.cs (1)
1001
.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)
772
if (resource.Annotations.OfType<
HttpsCertificateConfigurationCallbackAnnotation
>().Any())
ResourceBuilderExtensions.cs (1)
4711
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)
561
var
certConfigAnnotation = nodeResource.Annotations
562
.OfType<
HttpsCertificateConfigurationCallbackAnnotation
>()
621
var
certConfigAnnotation = nodeResource.Annotations
622
.OfType<
HttpsCertificateConfigurationCallbackAnnotation
>()
673
var
certConfigAnnotation = nodeResource.Annotations
674
.OfType<
HttpsCertificateConfigurationCallbackAnnotation
>()
720
var
certConfigAnnotation = nodeResource.Annotations
721
.OfType<
HttpsCertificateConfigurationCallbackAnnotation
>()
768
var
certConfigAnnotation = nodeResource.Annotations
769
.OfType<
HttpsCertificateConfigurationCallbackAnnotation
>()
831
var
certConfigAnnotation = viteResource.Annotations
832
.OfType<
HttpsCertificateConfigurationCallbackAnnotation
>()
925
var
certConfigAnnotation = resource.Annotations
926
.OfType<
HttpsCertificateConfigurationCallbackAnnotation
>()
1008
var
certConfigAnnotation = nodeResource.Annotations
1009
.OfType<
HttpsCertificateConfigurationCallbackAnnotation
>()
1151
var
certConfigAnnotation = resource.Annotations
1152
.OfType<
HttpsCertificateConfigurationCallbackAnnotation
>()
Aspire.Hosting.Tests (1)
Dashboard\DashboardResourceTests.cs (1)
644
Assert.True(dashboard.HasAnnotationOfType<
HttpsCertificateConfigurationCallbackAnnotation
>());