4 instantiations of GatewayAppService
Aspire.Hosting.Blazor (1)
BlazorGatewayExtensions.cs (1)
782
var service = new
GatewayAppService
(annotation.Resource.Name);
Aspire.Hosting.Blazor.Tests (3)
GatewayConfigurationBuilderTests.cs (3)
66
var svc = new
GatewayAppService
("weatherapi");
92
var svc = new
GatewayAppService
("weatherapi");
646
Array.ConvertAll(names, n => new
GatewayAppService
(n));
16 references to GatewayAppService
Aspire.Hosting.Blazor (7)
BlazorGatewayExtensions.cs (5)
373
GatewayAppService
[] services,
772
/// Builds <see cref="
GatewayAppService
"/> instances from endpoint reference annotations.
775
private static
GatewayAppService
[] BuildGatewayAppServices(List<EndpointReferenceAnnotation> references)
777
var services = new
GatewayAppService
[references.Count];
782
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)
269
new(new GatewayAppRegistration(storeApp, "store", Array.Empty<
GatewayAppService
>()), app1Path, app1Path),
270
new(new GatewayAppRegistration(adminApp, "admin", Array.Empty<
GatewayAppService
>()), app2Path, app2Path)
333
new(new GatewayAppRegistration(storeApp, "store", Array.Empty<
GatewayAppService
>()), app1Path, app1Path),
334
new(new GatewayAppRegistration(adminApp, "admin", Array.Empty<
GatewayAppService
>()), app2Path, app2Path)
GatewayConfigurationBuilderTests.cs (3)
66
var
svc = new GatewayAppService("weatherapi");
92
var
svc = new GatewayAppService("weatherapi");
645
private static
GatewayAppService
[] Svc(params string[] names) =>
WithBlazorAppTests.cs (2)
440
var
service = Assert.Single(registration.Services);
481
var
service = Assert.Single(registration.Services);