1 instantiation of IntegrationHostLauncher
Aspire.Hosting.RemoteHost.Tests (1)
TestServices\IntegrationHostTestServices.cs (1)
23return new IntegrationHostLauncher(
39 references to IntegrationHostLauncher
Aspire.Hosting.RemoteHost (10)
CodeGeneration\CodeGenerationService.cs (2)
26private readonly Aspire.Hosting.RemoteHost.Language.IntegrationHostLauncher _integrationHostLauncher; 36Aspire.Hosting.RemoteHost.Language.IntegrationHostLauncher integrationHostLauncher,
Language\IntegrationHostLauncher.cs (2)
25private readonly ILogger<IntegrationHostLauncher> _logger; 40ILogger<IntegrationHostLauncher> logger,
Language\IntegrationHostProcessLauncher.cs (2)
18ILogger<IntegrationHostLauncher> logger, 48startInfo.Environment[IntegrationHostLauncher.RegistrationIdVariable] = registrationId;
RemoteHostServer.cs (4)
46var integrationHostLauncher = host.Services.GetRequiredService<IntegrationHostLauncher>(); 94services.AddSingleton<IntegrationHostLauncher>(); 95services.AddHostedService(sp => sp.GetRequiredService<IntegrationHostLauncher>());
Aspire.Hosting.RemoteHost.Tests (29)
CodeGeneration\ApiReferenceExportTests.cs (2)
249var integrationHostLauncher = IntegrationHostTestServices.CreateLauncher( 253NullLogger<IntegrationHostLauncher>.Instance);
IntegrationHostLauncherTests.cs (14)
29await using var launcher = IntegrationHostTestServices.CreateLauncher( 34NullLogger<IntegrationHostLauncher>.Instance); 51await using var launcher = IntegrationHostTestServices.CreateLauncher( 56NullLogger<IntegrationHostLauncher>.Instance); 78await using var launcher = IntegrationHostTestServices.CreateLauncher( 82NullLogger<IntegrationHostLauncher>.Instance); 98await using var launcher = IntegrationHostTestServices.CreateLauncher( 101new ApplicationLifetime(NullLogger<ApplicationLifetime>.Instance), NullLogger<IntegrationHostLauncher>.Instance); 135await using var launcher = IntegrationHostTestServices.CreateLauncher( 138new ApplicationLifetime(NullLogger<ApplicationLifetime>.Instance), NullLogger<IntegrationHostLauncher>.Instance); 155await using var launcher = IntegrationHostTestServices.CreateLauncher( 158new ApplicationLifetime(NullLogger<ApplicationLifetime>.Instance), NullLogger<IntegrationHostLauncher>.Instance); 184await using var launcher = IntegrationHostTestServices.CreateLauncher( 188new ApplicationLifetime(NullLogger<ApplicationLifetime>.Instance), NullLogger<IntegrationHostLauncher>.Instance);
IntegrationHostProcessLauncherTests.cs (5)
30var logger = new RecordingLogger<IntegrationHostLauncher>(); 53configuration, RemoteHostProfilingTelemetry.Disabled, NullLogger<IntegrationHostLauncher>.Instance, factory, new FakeTimeProvider()); 70var logger = new RecordingLogger<IntegrationHostLauncher>(); 105Assert.Equal("attempt", startInfo.Environment[IntegrationHostLauncher.RegistrationIdVariable]); 132var logger = new RecordingLogger<IntegrationHostLauncher>();
JsonRpcAuthenticationTests.cs (1)
277services.AddSingleton<Language.IntegrationHostLauncher>();
ServiceErrorMessageTests.cs (5)
98var integrationHostLauncher = CreateReadyIntegrationHostLauncher(langResolver, externalCapabilityRegistry, configuration); 141var integrationHostLauncher = CreateReadyIntegrationHostLauncher(langResolver, externalCapabilityRegistry, configuration); 152private static IntegrationHostLauncher CreateReadyIntegrationHostLauncher( 157var launcher = IntegrationHostTestServices.CreateLauncher( 163NullLogger<IntegrationHostLauncher>.Instance);
TestServices\IntegrationHostTestServices.cs (2)
16internal static IntegrationHostLauncher CreateLauncher( 18IHostApplicationLifetime lifetime, ILogger<IntegrationHostLauncher> logger)