1 instantiation of IntegrationHostLauncher
Aspire.Hosting.RemoteHost.Tests (1)
TestServices\IntegrationHostTestServices.cs (1)
23return new IntegrationHostLauncher(
41 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 (31)
CodeGeneration\ApiReferenceExportTests.cs (2)
307var integrationHostLauncher = IntegrationHostTestServices.CreateLauncher( 311NullLogger<IntegrationHostLauncher>.Instance);
IntegrationHostDiscoveryThreadPoolTests.cs (2)
89await using var launcher = IntegrationHostTestServices.CreateLauncher( 92new ApplicationLifetime(NullLogger<ApplicationLifetime>.Instance), NullLogger<IntegrationHostLauncher>.Instance);
IntegrationHostLauncherTests.cs (14)
34await using var launcher = IntegrationHostTestServices.CreateLauncher( 39NullLogger<IntegrationHostLauncher>.Instance); 56await using var launcher = IntegrationHostTestServices.CreateLauncher( 61NullLogger<IntegrationHostLauncher>.Instance); 83await using var launcher = IntegrationHostTestServices.CreateLauncher( 87NullLogger<IntegrationHostLauncher>.Instance); 103await using var launcher = IntegrationHostTestServices.CreateLauncher( 106new ApplicationLifetime(NullLogger<ApplicationLifetime>.Instance), NullLogger<IntegrationHostLauncher>.Instance); 140await using var launcher = IntegrationHostTestServices.CreateLauncher( 143new ApplicationLifetime(NullLogger<ApplicationLifetime>.Instance), NullLogger<IntegrationHostLauncher>.Instance); 160await using var launcher = IntegrationHostTestServices.CreateLauncher( 163new ApplicationLifetime(NullLogger<ApplicationLifetime>.Instance), NullLogger<IntegrationHostLauncher>.Instance); 189await using var launcher = IntegrationHostTestServices.CreateLauncher( 193new 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)
356services.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)