1 instantiation of GatewayAppsAnnotation
Aspire.Hosting.Blazor (1)
BlazorGatewayExtensions.cs (1)
694
var newAnnotation = new
GatewayAppsAnnotation
();
23 references to GatewayAppsAnnotation
Aspire.Hosting.Blazor (7)
BlazorGatewayExtensions.cs (7)
317
var
annotation = GetOrAddGatewayAppsAnnotation(gateway.Resource);
687
private static
GatewayAppsAnnotation
GetOrAddGatewayAppsAnnotation(IResource resource)
689
if (resource.TryGetLastAnnotation<
GatewayAppsAnnotation
>(out
var
existing))
694
var
newAnnotation = new GatewayAppsAnnotation();
701
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();