1 instantiation of IntegrationHostLauncher
Aspire.Hosting.RemoteHost.Tests (1)
TestServices\IntegrationHostTestServices.cs (1)
23
return new
IntegrationHostLauncher
(
41 references to IntegrationHostLauncher
Aspire.Hosting.RemoteHost (10)
CodeGeneration\CodeGenerationService.cs (2)
26
private readonly Aspire.Hosting.RemoteHost.Language.
IntegrationHostLauncher
_integrationHostLauncher;
36
Aspire.Hosting.RemoteHost.Language.
IntegrationHostLauncher
integrationHostLauncher,
Language\IntegrationHostLauncher.cs (2)
25
private readonly ILogger<
IntegrationHostLauncher
> _logger;
40
ILogger<
IntegrationHostLauncher
> logger,
Language\IntegrationHostProcessLauncher.cs (2)
18
ILogger<
IntegrationHostLauncher
> logger,
48
startInfo.Environment[
IntegrationHostLauncher
.RegistrationIdVariable] = registrationId;
RemoteHostServer.cs (4)
46
var
integrationHostLauncher = host.Services.GetRequiredService<
IntegrationHostLauncher
>();
94
services.AddSingleton<
IntegrationHostLauncher
>();
95
services.AddHostedService(sp => sp.GetRequiredService<
IntegrationHostLauncher
>());
Aspire.Hosting.RemoteHost.Tests (31)
CodeGeneration\ApiReferenceExportTests.cs (2)
307
var
integrationHostLauncher = IntegrationHostTestServices.CreateLauncher(
311
NullLogger<
IntegrationHostLauncher
>.Instance);
IntegrationHostDiscoveryThreadPoolTests.cs (2)
89
await using
var
launcher = IntegrationHostTestServices.CreateLauncher(
92
new ApplicationLifetime(NullLogger<ApplicationLifetime>.Instance), NullLogger<
IntegrationHostLauncher
>.Instance);
IntegrationHostLauncherTests.cs (14)
34
await using
var
launcher = IntegrationHostTestServices.CreateLauncher(
39
NullLogger<
IntegrationHostLauncher
>.Instance);
56
await using
var
launcher = IntegrationHostTestServices.CreateLauncher(
61
NullLogger<
IntegrationHostLauncher
>.Instance);
83
await using
var
launcher = IntegrationHostTestServices.CreateLauncher(
87
NullLogger<
IntegrationHostLauncher
>.Instance);
103
await using
var
launcher = IntegrationHostTestServices.CreateLauncher(
106
new ApplicationLifetime(NullLogger<ApplicationLifetime>.Instance), NullLogger<
IntegrationHostLauncher
>.Instance);
140
await using
var
launcher = IntegrationHostTestServices.CreateLauncher(
143
new ApplicationLifetime(NullLogger<ApplicationLifetime>.Instance), NullLogger<
IntegrationHostLauncher
>.Instance);
160
await using
var
launcher = IntegrationHostTestServices.CreateLauncher(
163
new ApplicationLifetime(NullLogger<ApplicationLifetime>.Instance), NullLogger<
IntegrationHostLauncher
>.Instance);
189
await using
var
launcher = IntegrationHostTestServices.CreateLauncher(
193
new ApplicationLifetime(NullLogger<ApplicationLifetime>.Instance), NullLogger<
IntegrationHostLauncher
>.Instance);
IntegrationHostProcessLauncherTests.cs (5)
30
var logger = new RecordingLogger<
IntegrationHostLauncher
>();
53
configuration, RemoteHostProfilingTelemetry.Disabled, NullLogger<
IntegrationHostLauncher
>.Instance, factory, new FakeTimeProvider());
70
var logger = new RecordingLogger<
IntegrationHostLauncher
>();
105
Assert.Equal("attempt", startInfo.Environment[
IntegrationHostLauncher
.RegistrationIdVariable]);
132
var logger = new RecordingLogger<
IntegrationHostLauncher
>();
JsonRpcAuthenticationTests.cs (1)
356
services.AddSingleton<Language.
IntegrationHostLauncher
>();
ServiceErrorMessageTests.cs (5)
98
var
integrationHostLauncher = CreateReadyIntegrationHostLauncher(langResolver, externalCapabilityRegistry, configuration);
141
var
integrationHostLauncher = CreateReadyIntegrationHostLauncher(langResolver, externalCapabilityRegistry, configuration);
152
private static
IntegrationHostLauncher
CreateReadyIntegrationHostLauncher(
157
var
launcher = IntegrationHostTestServices.CreateLauncher(
163
NullLogger<
IntegrationHostLauncher
>.Instance);
TestServices\IntegrationHostTestServices.cs (2)
16
internal static
IntegrationHostLauncher
CreateLauncher(
18
IHostApplicationLifetime lifetime, ILogger<
IntegrationHostLauncher
> logger)