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