25 instantiations of GatewayAppRegistration
Aspire.Hosting.Blazor (1)
BlazorGatewayExtensions.cs (1)
379var registration = new GatewayAppRegistration(wasmApp, pathPrefix, services, apiPrefix, otlpPrefix, proxyTelemetry);
Aspire.Hosting.Blazor.Tests (24)
EndpointsManifestTransformerTests.cs (4)
269new(new GatewayAppRegistration(storeApp, "store", Array.Empty<GatewayAppService>()), app1Path, app1Path), 270new(new GatewayAppRegistration(adminApp, "admin", Array.Empty<GatewayAppService>()), app2Path, app2Path) 333new(new GatewayAppRegistration(storeApp, "store", Array.Empty<GatewayAppService>()), app1Path, app1Path), 334new(new GatewayAppRegistration(adminApp, "admin", Array.Empty<GatewayAppService>()), app2Path, app2Path)
GatewayConfigurationBuilderTests.cs (20)
23var registration = new GatewayAppRegistration(wasmApp, "store", Svc("weatherapi")); 46var registration = new GatewayAppRegistration(wasmApp, "store", Svc("weatherapi")); 68var registration = new GatewayAppRegistration(wasmApp, "store", [svc]); 95var registration = new GatewayAppRegistration(wasmApp, "store", [svc]); 121var registration = new GatewayAppRegistration(wasmApp, "store", Svc("weatherapi")); 141var registration = new GatewayAppRegistration(wasmApp, "store", Svc()); 166new(storeApp, "store", Svc("weatherapi")), 167new(adminApp, "admin", Svc("weatherapi")) 192var registration = new GatewayAppRegistration(wasmApp, "store", Svc("weatherapi", "catalogapi")); 215var registration = new GatewayAppRegistration(wasmApp, "store", Svc()); 247var registration = new GatewayAppRegistration(wasmApp, "store", Svc()); 268var registration = new GatewayAppRegistration(wasmApp, "store", Svc("weatherapi")); 294var registration = new GatewayAppRegistration(wasmApp, "store", Svc("weatherapi")); 318var registration = new GatewayAppRegistration(wasmApp, "store", Svc(), ProxyBlazorTelemetry: false); 341var registration = new GatewayAppRegistration(wasmApp, "store", Svc("weatherapi")); 366var registration = new GatewayAppRegistration(wasmApp, "store", Svc("weatherapi"), ApiPrefix: "myapi", OtlpPrefix: "myotlp"); 396new(storeApp, "store", Svc("weatherapi", "catalogapi")), 397new(adminApp, "admin", Svc("weatherapi", "usersapi")) 456var registration = new GatewayAppRegistration(wasmApp, "store", Svc("weatherapi")); 485var registration = new GatewayAppRegistration(wasmApp, "store", Svc());
50 references to GatewayAppRegistration
Aspire.Hosting.Blazor (14)
BlazorGatewayExtensions.cs (8)
379var registration = new GatewayAppRegistration(wasmApp, pathPrefix, services, apiPrefix, otlpPrefix, proxyTelemetry); 527foreach (var reg in registeredApps) 546List<GatewayAppRegistration> apps, 550foreach (var reg in apps) 562List<GatewayAppRegistration> apps, ILogger logger, CancellationToken ct) 566foreach (var reg in apps) 595var reg = manifest.Registration; 854private static List<GatewayAppRegistration> GetRegisteredApps(IResource resource)
GatewayConfigurationBuilder.cs (2)
23List<GatewayAppRegistration> apps, 32foreach (var reg in apps)
Manifests\AppManifestPaths.cs (2)
6internal readonly struct AppManifestPaths(GatewayAppRegistration registration, string endpointsManifest, string runtimeManifest) 8public GatewayAppRegistration Registration { get; } = registration;
Manifests\EndpointsManifestTransformer.cs (1)
113var reg = manifest.Registration;
Resources\GatewayAppsAnnotation.cs (1)
14public List<GatewayAppRegistration> Apps { get; } = [];
Aspire.Hosting.Blazor.Tests (36)
GatewayConfigurationBuilderTests.cs (34)
23var registration = new GatewayAppRegistration(wasmApp, "store", Svc("weatherapi")); 24var apps = new List<GatewayAppRegistration> { registration }; 46var registration = new GatewayAppRegistration(wasmApp, "store", Svc("weatherapi")); 47var apps = new List<GatewayAppRegistration> { registration }; 68var registration = new GatewayAppRegistration(wasmApp, "store", [svc]); 69var apps = new List<GatewayAppRegistration> { registration }; 95var registration = new GatewayAppRegistration(wasmApp, "store", [svc]); 96var apps = new List<GatewayAppRegistration> { registration }; 121var registration = new GatewayAppRegistration(wasmApp, "store", Svc("weatherapi")); 122var apps = new List<GatewayAppRegistration> { registration }; 141var registration = new GatewayAppRegistration(wasmApp, "store", Svc()); 142var apps = new List<GatewayAppRegistration> { registration }; 164var apps = new List<GatewayAppRegistration> 192var registration = new GatewayAppRegistration(wasmApp, "store", Svc("weatherapi", "catalogapi")); 193var apps = new List<GatewayAppRegistration> { registration }; 215var registration = new GatewayAppRegistration(wasmApp, "store", Svc()); 216var apps = new List<GatewayAppRegistration> { registration }; 247var registration = new GatewayAppRegistration(wasmApp, "store", Svc()); 248var apps = new List<GatewayAppRegistration> { registration }; 268var registration = new GatewayAppRegistration(wasmApp, "store", Svc("weatherapi")); 269var apps = new List<GatewayAppRegistration> { registration }; 294var registration = new GatewayAppRegistration(wasmApp, "store", Svc("weatherapi")); 295var apps = new List<GatewayAppRegistration> { registration }; 318var registration = new GatewayAppRegistration(wasmApp, "store", Svc(), ProxyBlazorTelemetry: false); 319var apps = new List<GatewayAppRegistration> { registration }; 341var registration = new GatewayAppRegistration(wasmApp, "store", Svc("weatherapi")); 342var apps = new List<GatewayAppRegistration> { registration }; 366var registration = new GatewayAppRegistration(wasmApp, "store", Svc("weatherapi"), ApiPrefix: "myapi", OtlpPrefix: "myotlp"); 367var apps = new List<GatewayAppRegistration> { registration }; 394var apps = new List<GatewayAppRegistration> 456var registration = new GatewayAppRegistration(wasmApp, "store", Svc("weatherapi")); 457var apps = new List<GatewayAppRegistration> { registration }; 485var registration = new GatewayAppRegistration(wasmApp, "store", Svc()); 486var apps = new List<GatewayAppRegistration> { registration };
WithBlazorAppTests.cs (2)
439var registration = Assert.Single(annotation.Apps); 480var registration = Assert.Single(annotation.Apps);