6 instantiations of HttpsCertificateConfigurationCallbackAnnotation
Aspire.Hosting (2)
Dashboard\DashboardEventHandlers.cs (1)
280
dashboardResource.Annotations.Add(new
HttpsCertificateConfigurationCallbackAnnotation
(ctx =>
ResourceBuilderExtensions.cs (1)
4406
var annotation = new
HttpsCertificateConfigurationCallbackAnnotation
(callback);
Aspire.Hosting.Tests (4)
Dcp\DcpHostNotificationTests.cs (3)
965
resource.Annotations.Add(new
HttpsCertificateConfigurationCallbackAnnotation
(_ => Task.CompletedTask));
1016
resource.Annotations.Add(new
HttpsCertificateConfigurationCallbackAnnotation
(_ => Task.CompletedTask));
1135
resource.Annotations.Add(new
HttpsCertificateConfigurationCallbackAnnotation
(_ => Task.CompletedTask));
ExecutionConfigurationGathererTests.cs (1)
860
.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)
267
!dashboardResource.HasAnnotationOfType<
HttpsCertificateConfigurationCallbackAnnotation
>())
Dcp\DcpHost.cs (1)
764
if (resource.Annotations.OfType<
HttpsCertificateConfigurationCallbackAnnotation
>().Any())
ResourceBuilderExtensions.cs (1)
4406
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)
564
var
certConfigAnnotation = nodeResource.Annotations
565
.OfType<
HttpsCertificateConfigurationCallbackAnnotation
>()
624
var
certConfigAnnotation = nodeResource.Annotations
625
.OfType<
HttpsCertificateConfigurationCallbackAnnotation
>()
676
var
certConfigAnnotation = nodeResource.Annotations
677
.OfType<
HttpsCertificateConfigurationCallbackAnnotation
>()
723
var
certConfigAnnotation = nodeResource.Annotations
724
.OfType<
HttpsCertificateConfigurationCallbackAnnotation
>()
771
var
certConfigAnnotation = nodeResource.Annotations
772
.OfType<
HttpsCertificateConfigurationCallbackAnnotation
>()
834
var
certConfigAnnotation = viteResource.Annotations
835
.OfType<
HttpsCertificateConfigurationCallbackAnnotation
>()
928
var
certConfigAnnotation = resource.Annotations
929
.OfType<
HttpsCertificateConfigurationCallbackAnnotation
>()
1011
var
certConfigAnnotation = nodeResource.Annotations
1012
.OfType<
HttpsCertificateConfigurationCallbackAnnotation
>()
1124
var
certConfigAnnotation = resource.Annotations
1125
.OfType<
HttpsCertificateConfigurationCallbackAnnotation
>()
Aspire.Hosting.Tests (1)
Dashboard\DashboardResourceTests.cs (1)
638
Assert.True(dashboard.HasAnnotationOfType<
HttpsCertificateConfigurationCallbackAnnotation
>());