96 instantiations of AppHostInformation
aspire (1)
Commands\StopCommand.TrayProtocol.cs (1)
94
var identity = new
AppHostInformation
Aspire.Cli.Tests (95)
Backchannel\AppHostAuxiliaryBackchannelTests.cs (1)
202
return new
AppHostInformation
Backchannel\AppHostConnectionResolverTests.cs (1)
532
AppHostInfo = new
AppHostInformation
Backchannel\AuxiliaryBackchannelMonitorTests.cs (2)
124
AppHostInfo = new
AppHostInformation
219
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
Backchannel\TrayWatchStreamTests.cs (1)
1004
AppHostInfo = new
AppHostInformation
{ AppHostPath = path, ProcessId = pid },
Commands\AgentMcpCommandTests.cs (19)
170
AppHostInfo = new
AppHostInformation
230
AppHostInfo = new
AppHostInformation
294
AppHostInfo = new
AppHostInformation
371
AppHostInfo = new
AppHostInformation
504
AppHostInfo = new
AppHostInformation
584
AppHostInfo = new
AppHostInformation
652
AppHostInfo = new
AppHostInformation
697
AppHostInfo = new
AppHostInformation
794
AppHostInfo = new
AppHostInformation
826
AppHostInfo = new
AppHostInformation
915
AppHostInfo = new
AppHostInformation
991
AppHostInfo = new
AppHostInformation
1026
AppHostInfo = new
AppHostInformation
1089
AppHostInfo = new
AppHostInformation
1116
AppHostInfo = new
AppHostInformation
1169
AppHostInfo = new
AppHostInformation
1197
AppHostInfo = new
AppHostInformation
1396
AppHostInfo = new
AppHostInformation
1828
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)
1096
AppHostInfo = new
AppHostInformation
1120
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 (15)
129
AppHostInfo = new
AppHostInformation
144
AppHostInfo = new
AppHostInformation
235
AppHostInfo = new
AppHostInformation
275
AppHostInfo = new
AppHostInformation
319
AppHostInfo = new
AppHostInformation
363
AppHostInfo = new
AppHostInformation
442
AppHostInfo = new
AppHostInformation
503
AppHostInfo = new
AppHostInformation
542
AppHostInfo = new
AppHostInformation
583
AppHostInfo = new
AppHostInformation
675
AppHostInfo = new
AppHostInformation
719
AppHostInfo = new
AppHostInformation
759
AppHostInfo = new
AppHostInformation
806
AppHostInfo = new
AppHostInformation
888
return Task.FromResult(new
AppHostInformation
Commands\ResourceCommandTests.cs (3)
209
var appHostInfo = new
AppHostInformation
257
AppHostInfo = new
AppHostInformation
1254
AppHostInfo = new
AppHostInformation
Commands\StopCommandTests.cs (4)
71
selected.AppHostInfo = new
AppHostInformation
{ AppHostPath = appHostPath, ProcessId = int.MaxValue - 1, CliProcessId = int.MaxValue - 3 };
72
sibling.AppHostInfo = new
AppHostInformation
{ AppHostPath = appHostPath, ProcessId = int.MaxValue - 2, CliProcessId = int.MaxValue - 3 };
122
connection.AppHostInfo = new
AppHostInformation
{ AppHostPath = appHostPath, ProcessId = int.MaxValue - 1, CliProcessId = int.MaxValue - 3 };
1612
AppHostInfo = new
AppHostInformation
Commands\TelemetryFollowTests.cs (1)
238
AppHostInfo = new
AppHostInformation
Commands\TelemetryTestHelper.cs (1)
76
AppHostInfo = new
AppHostInformation
Commands\TelemetryTracesCommandTests.cs (1)
85
AppHostInfo = new
AppHostInformation
Commands\TrayProtocolCommandTests.cs (1)
316
AppHostInfo = new
AppHostInformation
{ AppHostPath = path, ProcessId = pid }
Mcp\AppHostConnectionSelectionLogicTests.cs (1)
341
AppHostInfo = new
AppHostInformation
Mcp\ExcludeFromMcpTests.cs (1)
197
=>
new
()
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\ListResourcesToolTests.cs (1)
1200
AppHostInfo = new
AppHostInformation
Mcp\SelectAppHostToolTests.cs (1)
191
AppHostInfo = new
AppHostInformation
Mcp\WaitForResourcesToolTests.cs (1)
802
AppHostInfo = new
AppHostInformation
Processes\ProcessTreeGracefulShutdownServiceTests.cs (8)
34
new
AppHostInformation
72
new
AppHostInformation
188
var target = ProcessTreeGracefulShutdownService.CreateAppHostProcessTarget(new
AppHostInformation
206
var target = ProcessTreeGracefulShutdownService.CreateAppHostProcessTarget(new
AppHostInformation
248
new
AppHostInformation
293
new
AppHostInformation
332
new
AppHostInformation
370
new
AppHostInformation
Projects\RunningInstanceManagerTests.cs (1)
138
return Task.FromResult(new
AppHostInformation
TestServices\TerminalCommandTestServices.cs (1)
22
AppHostInfo = new
AppHostInformation
TestServices\TestAuxiliaryBackchannelServer.cs (1)
48
public Task<AppHostInformation> GetAppHostInformationAsync() => Task.FromResult(new
AppHostInformation
45 references to AppHostInformation
aspire (25)
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)
380
var
info = connection.AppHostInfo;
Commands\StopCommand.cs (1)
594
var
appHostInfo = connection.AppHostInfo;
Commands\StopCommand.TrayProtocol.cs (1)
94
var
identity = new AppHostInformation
Processes\IAppHostStopper.cs (1)
23
AppHostInformation
? appHostInfo,
Processes\ProcessTreeGracefulShutdownService.cs (4)
34
AppHostInformation
appHostInfo,
61
AppHostInformation
? appHostInfo,
152
AppHostInformation
appHostInfo,
369
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 (20)
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)
1118
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)
884
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\ExcludeFromMcpTests.cs (1)
196
private static
AppHostInformation
CreateAppHostInfo()
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)
36
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,
TestServices\TestAuxiliaryBackchannelServer.cs (1)
48
public Task<
AppHostInformation
> GetAppHostInformationAsync() => Task.FromResult(new AppHostInformation