1 instantiation of GatewayAppsAnnotation
Aspire.Hosting.Blazor (1)
BlazorGatewayExtensions.cs (1)
669
var newAnnotation = new
GatewayAppsAnnotation
();
23 references to GatewayAppsAnnotation
Aspire.Hosting.Blazor (7)
BlazorGatewayExtensions.cs (7)
292
var
annotation = GetOrAddGatewayAppsAnnotation(gateway.Resource);
662
private static
GatewayAppsAnnotation
GetOrAddGatewayAppsAnnotation(IResource resource)
664
if (resource.TryGetLastAnnotation<
GatewayAppsAnnotation
>(out
var
existing))
669
var
newAnnotation = new GatewayAppsAnnotation();
676
if (resource.TryGetLastAnnotation<
GatewayAppsAnnotation
>(out
var
apps))
Aspire.Hosting.Blazor.Tests (16)
AddDotnetProjectBlazorGatewayTests.cs (2)
31
var
annotation = gateway.Resource.Annotations.OfType<
GatewayAppsAnnotation
>().SingleOrDefault();
WithBlazorAppTests.cs (14)
28
var
annotation = gateway.Resource.Annotations.OfType<
GatewayAppsAnnotation
>().SingleOrDefault();
50
var
annotation = gateway.Resource.Annotations.OfType<
GatewayAppsAnnotation
>().SingleOrDefault();
74
var annotations = gateway.Resource.Annotations.OfType<
GatewayAppsAnnotation
>().ToList();
173
var
annotation = gateway.Resource.Annotations.OfType<
GatewayAppsAnnotation
>().SingleOrDefault();
232
Assert.Single(gateway.Resource.Annotations.OfType<
GatewayAppsAnnotation
>());
372
var
annotation = gateway.Resource.Annotations.OfType<
GatewayAppsAnnotation
>().SingleOrDefault();
437
var
annotation = gateway.Resource.Annotations.OfType<
GatewayAppsAnnotation
>().Single();
478
var
annotation = gateway.Resource.Annotations.OfType<
GatewayAppsAnnotation
>().Single();