59 instantiations of AppHostInformation
Aspire.Cli.Tests (59)
Backchannel\AppHostAuxiliaryBackchannelTests.cs (1)
161
return Task.FromResult(new
AppHostInformation
Backchannel\AppHostConnectionResolverTests.cs (1)
489
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)
139
AppHostInfo = new
AppHostInformation
207
AppHostInfo = new
AppHostInformation
282
AppHostInfo = new
AppHostInformation
397
AppHostInfo = new
AppHostInformation
479
AppHostInfo = new
AppHostInformation
Commands\AppHostLauncherTests.cs (1)
1230
connection.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
140
AppHostInfo = new
AppHostInformation
231
AppHostInfo = new
AppHostInformation
271
AppHostInfo = new
AppHostInformation
315
AppHostInfo = new
AppHostInformation
359
AppHostInfo = new
AppHostInformation
438
AppHostInfo = new
AppHostInformation
499
AppHostInfo = new
AppHostInformation
538
AppHostInfo = new
AppHostInformation
602
AppHostInfo = new
AppHostInformation
646
AppHostInfo = new
AppHostInformation
686
AppHostInfo = new
AppHostInformation
733
AppHostInfo = new
AppHostInformation
815
return Task.FromResult(new
AppHostInformation
Commands\ResourceCommandTests.cs (2)
209
var appHostInfo = new
AppHostInformation
1214
AppHostInfo = new
AppHostInformation
Commands\StopCommandTests.cs (1)
1288
AppHostInfo = new
AppHostInformation
Commands\TelemetryTestHelper.cs (1)
76
AppHostInfo = new
AppHostInformation
Commands\TelemetryTracesCommandTests.cs (1)
85
AppHostInfo = new
AppHostInformation
Commands\TerminalCommandTests.cs (1)
624
AppHostInfo = new
AppHostInformation
Mcp\AppHostConnectionSelectionLogicTests.cs (1)
74
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
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
41 references to AppHostInformation
aspire (23)
Backchannel\AppHostAuxiliaryBackchannel.cs (9)
44
AppHostInformation
? appHostInfo,
68
AppHostInformation
? appHostInfo,
81
public
AppHostInformation
? AppHostInfo { get; private set; }
191
var
appHostInfo = await rpc.InvokeWithProfilingAsync<
AppHostInformation
?>(
247
public async Task<
AppHostInformation
?> GetAppHostInformationAsync(CancellationToken cancellationToken = default)
253
var
appHostInfo = await rpc.InvokeWithProfilingAsync<
AppHostInformation
?>(
529
var
legacyInfo = await GetAppHostInformationAsync(cancellationToken).ConfigureAwait(false);
Backchannel\BackchannelJsonSerializerContext.cs (1)
44
[JsonSerializable(typeof(
AppHostInformation
))]
Backchannel\IAppHostAuxiliaryBackchannel.cs (1)
27
AppHostInformation
? AppHostInfo { get; }
Backchannel\OrphanedAppHostCollector.cs (1)
51
var
appHostInfo = connection.AppHostInfo;
Commands\AppHostLauncher.cs (1)
921
var
appHostInfo = result.Backchannel!.AppHostInfo;
Commands\PsCommand.cs (1)
333
var
info = connection.AppHostInfo;
Commands\StopCommand.cs (1)
495
var
appHostInfo = connection.AppHostInfo;
Processes\IAppHostStopper.cs (1)
16
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;
102
var
appHostInfo = backchannel.AppHostInfo;
119
public async Task<bool> MonitorProcessesForTerminationAsync(
AppHostInformation
appHostInfo, CancellationToken cancellationToken)
Telemetry\ProfilingTelemetry.cs (1)
648
internal ActivityScope StartStopAppHost(
AppHostInformation
? appHostInfo)
Aspire.Cli.Tests (18)
Backchannel\AppHostAuxiliaryBackchannelTests.cs (1)
157
public 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)
811
public Task<
AppHostInformation
> GetAppHostInformationAsync(CancellationToken cancellationToken = default)
Commands\ResourceCommandTests.cs (1)
209
var
appHostInfo = new AppHostInformation
Commands\TerminalCommandTests.cs (1)
673
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)
22
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; }
36
AppHostInformation
? appHostInfo,