1 instantiation of GatewayAppsAnnotation
Aspire.Hosting.Blazor (1)
BlazorGatewayExtensions.cs (1)
849
var newAnnotation = new
GatewayAppsAnnotation
();
23 references to GatewayAppsAnnotation
Aspire.Hosting.Blazor (7)
BlazorGatewayExtensions.cs (7)
382
var
annotation = GetOrAddGatewayAppsAnnotation(gateway.Resource);
842
private static
GatewayAppsAnnotation
GetOrAddGatewayAppsAnnotation(IResource resource)
844
if (resource.TryGetLastAnnotation<
GatewayAppsAnnotation
>(out
var
existing))
849
var
newAnnotation = new GatewayAppsAnnotation();
856
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)
29
var
annotation = gateway.Resource.Annotations.OfType<
GatewayAppsAnnotation
>().SingleOrDefault();
51
var
annotation = gateway.Resource.Annotations.OfType<
GatewayAppsAnnotation
>().SingleOrDefault();
75
var annotations = gateway.Resource.Annotations.OfType<
GatewayAppsAnnotation
>().ToList();
174
var
annotation = gateway.Resource.Annotations.OfType<
GatewayAppsAnnotation
>().SingleOrDefault();
233
Assert.Single(gateway.Resource.Annotations.OfType<
GatewayAppsAnnotation
>());
373
var
annotation = gateway.Resource.Annotations.OfType<
GatewayAppsAnnotation
>().SingleOrDefault();
438
var
annotation = gateway.Resource.Annotations.OfType<
GatewayAppsAnnotation
>().Single();
479
var
annotation = gateway.Resource.Annotations.OfType<
GatewayAppsAnnotation
>().Single();