4 instantiations of GatewayAppService
Aspire.Hosting.Blazor (1)
BlazorGatewayExtensions.cs (1)
627var service = new GatewayAppService(annotation.Resource.Name);
Aspire.Hosting.Blazor.Tests (3)
GatewayConfigurationBuilderTests.cs (3)
64var svc = new GatewayAppService("weatherapi"); 90var svc = new GatewayAppService("weatherapi"); 549Array.ConvertAll(names, n => new GatewayAppService(n));
16 references to GatewayAppService
Aspire.Hosting.Blazor (7)
BlazorGatewayExtensions.cs (5)
308GatewayAppService[] services, 617/// Builds <see cref="GatewayAppService"/> instances from endpoint reference annotations. 620private static GatewayAppService[] BuildGatewayAppServices(List<EndpointReferenceAnnotation> references) 622var services = new GatewayAppService[references.Count]; 627var service = new GatewayAppService(annotation.Resource.Name);
GatewayConfigurationBuilder.cs (1)
40foreach (var svc in reg.Services)
Resources\GatewayAppsAnnotation.cs (1)
21GatewayAppService[] Services,
Aspire.Hosting.Blazor.Tests (9)
EndpointsManifestTransformerTests.cs (4)
186new(new GatewayAppRegistration(storeApp, "store", Array.Empty<GatewayAppService>()), app1Path, app1Path), 187new(new GatewayAppRegistration(adminApp, "admin", Array.Empty<GatewayAppService>()), app2Path, app2Path) 250new(new GatewayAppRegistration(storeApp, "store", Array.Empty<GatewayAppService>()), app1Path, app1Path), 251new(new GatewayAppRegistration(adminApp, "admin", Array.Empty<GatewayAppService>()), app2Path, app2Path)
GatewayConfigurationBuilderTests.cs (3)
64var svc = new GatewayAppService("weatherapi"); 90var svc = new GatewayAppService("weatherapi"); 548private static GatewayAppService[] Svc(params string[] names) =>
WithBlazorAppTests.cs (2)
439var service = Assert.Single(registration.Services); 480var service = Assert.Single(registration.Services);