65 instantiations of AppHostInformation
Aspire.Cli.Tests (65)
Backchannel\AppHostAuxiliaryBackchannelTests.cs (1)
202
return new
AppHostInformation
Backchannel\AppHostConnectionResolverTests.cs (1)
532
AppHostInfo = new
AppHostInformation
Backchannel\OrphanedAppHostCollectorTests.cs (9)
27
AppHostInfo = new
AppHostInformation
46
AppHostInfo = new
AppHostInformation
66
AppHostInfo = new
AppHostInformation
86
AppHostInfo = new
AppHostInformation
106
AppHostInfo = new
AppHostInformation
127
AppHostInfo = new
AppHostInformation
155
AppHostInfo = new
AppHostInformation
183
AppHostInfo = new
AppHostInformation
379
AppHostInfo = new
AppHostInformation
Commands\AgentMcpCommandTests.cs (5)
138
AppHostInfo = new
AppHostInformation
205
AppHostInfo = new
AppHostInformation
279
AppHostInfo = new
AppHostInformation
393
AppHostInfo = new
AppHostInformation
474
AppHostInfo = new
AppHostInformation
Commands\AppHostLauncherTests.cs (6)
1395
connection.AppHostInfo ??= new
AppHostInformation
1766
AppHostInfo = new
AppHostInformation
1790
AppHostInfo = new
AppHostInformation
1811
AppHostInfo = new
AppHostInformation
1828
AppHostInfo = new
AppHostInformation
1920
AppHostInfo = new
AppHostInformation
Commands\DescribeCommandTests.cs (2)
943
AppHostInfo = new
AppHostInformation
967
return new
AppHostInformation
Commands\ExportCommandTests.cs (3)
190
AppHostInfo = new
AppHostInformation
213
AppHostInfo = new
AppHostInformation
880
AppHostInfo = new
AppHostInformation
Commands\LogsCommandTests.cs (5)
726
AppHostInfo = new
AppHostInformation
816
AppHostInfo = new
AppHostInformation
983
AppHostInfo = new
AppHostInformation
1546
AppHostInfo = new
AppHostInformation
1624
return new
AppHostInformation
Commands\PsCommandTests.cs (14)
124
AppHostInfo = new
AppHostInformation
139
AppHostInfo = new
AppHostInformation
230
AppHostInfo = new
AppHostInformation
270
AppHostInfo = new
AppHostInformation
314
AppHostInfo = new
AppHostInformation
358
AppHostInfo = new
AppHostInformation
437
AppHostInfo = new
AppHostInformation
498
AppHostInfo = new
AppHostInformation
537
AppHostInfo = new
AppHostInformation
601
AppHostInfo = new
AppHostInformation
645
AppHostInfo = new
AppHostInformation
685
AppHostInfo = new
AppHostInformation
732
AppHostInfo = new
AppHostInformation
814
return Task.FromResult(new
AppHostInformation
Commands\ResourceCommandTests.cs (2)
209
var appHostInfo = new
AppHostInformation
1212
AppHostInfo = new
AppHostInformation
Commands\StopCommandTests.cs (1)
1324
AppHostInfo = new
AppHostInformation
Commands\TelemetryTestHelper.cs (1)
76
AppHostInfo = new
AppHostInformation
Commands\TelemetryTracesCommandTests.cs (1)
85
AppHostInfo = new
AppHostInformation
Mcp\AppHostConnectionSelectionLogicTests.cs (1)
106
appHostInfo: new
AppHostInformation
{ AppHostPath = appHostPath, ProcessId = processId, CliProcessId = null },
Mcp\ListAppHostsToolTests.cs (4)
48
var appHostInfo = new
AppHostInformation
80
var appHostInfo = new
AppHostInformation
112
var inScopeAppHostInfo = new
AppHostInformation
123
var outOfScopeAppHostInfo = new
AppHostInformation
Mcp\SelectAppHostToolTests.cs (1)
43
AppHostInfo = new
AppHostInformation
Processes\ProcessTreeGracefulShutdownServiceTests.cs (6)
113
var target = ProcessTreeGracefulShutdownService.CreateAppHostProcessTarget(new
AppHostInformation
131
var target = ProcessTreeGracefulShutdownService.CreateAppHostProcessTarget(new
AppHostInformation
173
new
AppHostInformation
218
new
AppHostInformation
257
new
AppHostInformation
295
new
AppHostInformation
Projects\RunningInstanceManagerTests.cs (1)
138
return Task.FromResult(new
AppHostInformation
TestServices\TerminalCommandTestServices.cs (1)
22
AppHostInfo = new
AppHostInformation
41 references to AppHostInformation
aspire (23)
Backchannel\AppHostAuxiliaryBackchannel.cs (9)
44
AppHostInformation
? appHostInfo,
66
AppHostInformation
? appHostInfo,
79
public
AppHostInformation
? AppHostInfo { get; private set; }
203
var appHostInfoTask = rpc.InvokeWithProfilingAsync<
AppHostInformation
?>(
210
var
appHostInfo = await appHostInfoTask.WaitAsync(handshakeCancellation.Token).ConfigureAwait(false);
292
public async Task<
AppHostInformation
?> GetAppHostInformationAsync(CancellationToken cancellationToken = default)
298
var
appHostInfo = await rpc.InvokeWithProfilingAsync<
AppHostInformation
?>(
574
var
legacyInfo = await GetAppHostInformationAsync(cancellationToken).ConfigureAwait(false);
Backchannel\BackchannelJsonSerializerContext.cs (1)
45
[JsonSerializable(typeof(
AppHostInformation
))]
Backchannel\IAppHostAuxiliaryBackchannel.cs (1)
28
AppHostInformation
? AppHostInfo { get; }
Backchannel\OrphanedAppHostCollector.cs (1)
50
var
appHostInfo = connection.AppHostInfo;
Commands\AppHostLauncher.cs (1)
960
var
appHostInfo = result.Backchannel!.AppHostInfo;
Commands\PsCommand.cs (1)
333
var
info = connection.AppHostInfo;
Commands\StopCommand.cs (1)
515
var
appHostInfo = connection.AppHostInfo;
Processes\IAppHostStopper.cs (1)
23
AppHostInformation
? appHostInfo,
Processes\ProcessTreeGracefulShutdownService.cs (3)
44
AppHostInformation
? appHostInfo,
135
AppHostInformation
appHostInfo,
352
internal static ProcessTarget CreateAppHostProcessTarget(
AppHostInformation
appHostInfo)
Projects\RunningInstanceManager.cs (3)
56
var
appHostInfo = backchannel.AppHostInfo;
100
var
appHostInfo = backchannel.AppHostInfo;
117
public async Task<bool> MonitorProcessesForTerminationAsync(
AppHostInformation
appHostInfo, CancellationToken cancellationToken)
Telemetry\ProfilingTelemetry.cs (1)
644
internal ActivityScope StartStopAppHost(
AppHostInformation
? appHostInfo)
Aspire.Cli.Tests (18)
Backchannel\AppHostAuxiliaryBackchannelTests.cs (1)
197
public async Task<
AppHostInformation
> GetAppHostInformationAsync(CancellationToken cancellationToken = default)
Backchannel\OrphanedAppHostCollectorTests.cs (1)
217
var
stopped = Assert.Single(stopper.StopRequests);
Commands\DescribeCommandTests.cs (1)
965
private static
AppHostInformation
CreateAppHostInfo(TemporaryWorkspace workspace, int processId)
Commands\LogsCommandTests.cs (1)
1622
private static
AppHostInformation
CreateAppHostInfo(TemporaryWorkspace workspace, int processId)
Commands\PsCommandTests.cs (1)
810
public Task<
AppHostInformation
> GetAppHostInformationAsync(CancellationToken cancellationToken = default)
Commands\ResourceCommandTests.cs (1)
209
var
appHostInfo = new AppHostInformation
Commands\TerminalCommandTests.cs (1)
820
public
AppHostInformation
? AppHostInfo => _inner.AppHostInfo;
Mcp\ListAppHostsToolTests.cs (5)
48
var
appHostInfo = new AppHostInformation
80
var
appHostInfo = new AppHostInformation
112
var
inScopeAppHostInfo = new AppHostInformation
123
var
outOfScopeAppHostInfo = new AppHostInformation
172
private static AppHostAuxiliaryBackchannel CreateAppHostConnection(string hash, string socketPath,
AppHostInformation
appHostInfo, bool isInScope)
Projects\RunningInstanceManagerTests.cs (1)
134
public Task<
AppHostInformation
> GetAppHostInformationAsync(CancellationToken cancellationToken = default)
TestServices\TestAppHostAuxiliaryBackchannel.cs (1)
33
public
AppHostInformation
? AppHostInfo { get; set; }
TestServices\TestAppHostStopper.cs (4)
18
public List<
AppHostInformation
?> StopRequests { get; } = [];
23
public Func<
AppHostInformation
?, bool>? StopResultSelector { get; set; }
28
public Func<
AppHostInformation
?, Exception?>? ThrowSelector { get; set; }
52
AppHostInformation
? appHostInfo,