59 instantiations of AppHostInformation
Aspire.Cli.Tests (59)
Backchannel\AppHostAuxiliaryBackchannelTests.cs (1)
161return Task.FromResult(new AppHostInformation
Backchannel\AppHostConnectionResolverTests.cs (1)
489AppHostInfo = new AppHostInformation
Backchannel\OrphanedAppHostCollectorTests.cs (9)
27AppHostInfo = new AppHostInformation 46AppHostInfo = new AppHostInformation 66AppHostInfo = new AppHostInformation 86AppHostInfo = new AppHostInformation 106AppHostInfo = new AppHostInformation 127AppHostInfo = new AppHostInformation 155AppHostInfo = new AppHostInformation 183AppHostInfo = new AppHostInformation 379AppHostInfo = new AppHostInformation
Commands\AgentMcpCommandTests.cs (5)
139AppHostInfo = new AppHostInformation 207AppHostInfo = new AppHostInformation 282AppHostInfo = new AppHostInformation 397AppHostInfo = new AppHostInformation 479AppHostInfo = new AppHostInformation
Commands\AppHostLauncherTests.cs (1)
1230connection.AppHostInfo ??= new AppHostInformation
Commands\DescribeCommandTests.cs (2)
943AppHostInfo = new AppHostInformation 967return new AppHostInformation
Commands\ExportCommandTests.cs (3)
190AppHostInfo = new AppHostInformation 213AppHostInfo = new AppHostInformation 880AppHostInfo = new AppHostInformation
Commands\LogsCommandTests.cs (5)
726AppHostInfo = new AppHostInformation 816AppHostInfo = new AppHostInformation 983AppHostInfo = new AppHostInformation 1546AppHostInfo = new AppHostInformation 1624return new AppHostInformation
Commands\PsCommandTests.cs (14)
124AppHostInfo = new AppHostInformation 140AppHostInfo = new AppHostInformation 231AppHostInfo = new AppHostInformation 271AppHostInfo = new AppHostInformation 315AppHostInfo = new AppHostInformation 359AppHostInfo = new AppHostInformation 438AppHostInfo = new AppHostInformation 499AppHostInfo = new AppHostInformation 538AppHostInfo = new AppHostInformation 602AppHostInfo = new AppHostInformation 646AppHostInfo = new AppHostInformation 686AppHostInfo = new AppHostInformation 733AppHostInfo = new AppHostInformation 815return Task.FromResult(new AppHostInformation
Commands\ResourceCommandTests.cs (2)
209var appHostInfo = new AppHostInformation 1214AppHostInfo = new AppHostInformation
Commands\StopCommandTests.cs (1)
1288AppHostInfo = new AppHostInformation
Commands\TelemetryTestHelper.cs (1)
76AppHostInfo = new AppHostInformation
Commands\TelemetryTracesCommandTests.cs (1)
85AppHostInfo = new AppHostInformation
Commands\TerminalCommandTests.cs (1)
624AppHostInfo = new AppHostInformation
Mcp\AppHostConnectionSelectionLogicTests.cs (1)
74appHostInfo: new AppHostInformation { AppHostPath = appHostPath, ProcessId = processId, CliProcessId = null },
Mcp\ListAppHostsToolTests.cs (4)
48var appHostInfo = new AppHostInformation 80var appHostInfo = new AppHostInformation 112var inScopeAppHostInfo = new AppHostInformation 123var outOfScopeAppHostInfo = new AppHostInformation
Processes\ProcessTreeGracefulShutdownServiceTests.cs (6)
113var target = ProcessTreeGracefulShutdownService.CreateAppHostProcessTarget(new AppHostInformation 131var target = ProcessTreeGracefulShutdownService.CreateAppHostProcessTarget(new AppHostInformation 173new AppHostInformation 218new AppHostInformation 257new AppHostInformation 295new AppHostInformation
Projects\RunningInstanceManagerTests.cs (1)
138return Task.FromResult(new AppHostInformation
41 references to AppHostInformation
aspire (23)
Backchannel\AppHostAuxiliaryBackchannel.cs (9)
44AppHostInformation? appHostInfo, 68AppHostInformation? appHostInfo, 81public AppHostInformation? AppHostInfo { get; private set; } 191var appHostInfo = await rpc.InvokeWithProfilingAsync<AppHostInformation?>( 247public async Task<AppHostInformation?> GetAppHostInformationAsync(CancellationToken cancellationToken = default) 253var appHostInfo = await rpc.InvokeWithProfilingAsync<AppHostInformation?>( 529var legacyInfo = await GetAppHostInformationAsync(cancellationToken).ConfigureAwait(false);
Backchannel\BackchannelJsonSerializerContext.cs (1)
44[JsonSerializable(typeof(AppHostInformation))]
Backchannel\IAppHostAuxiliaryBackchannel.cs (1)
27AppHostInformation? AppHostInfo { get; }
Backchannel\OrphanedAppHostCollector.cs (1)
51var appHostInfo = connection.AppHostInfo;
Commands\AppHostLauncher.cs (1)
921var appHostInfo = result.Backchannel!.AppHostInfo;
Commands\PsCommand.cs (1)
333var info = connection.AppHostInfo;
Commands\StopCommand.cs (1)
495var appHostInfo = connection.AppHostInfo;
Processes\IAppHostStopper.cs (1)
16AppHostInformation? appHostInfo,
Processes\ProcessTreeGracefulShutdownService.cs (3)
44AppHostInformation? appHostInfo, 135AppHostInformation appHostInfo, 352internal static ProcessTarget CreateAppHostProcessTarget(AppHostInformation appHostInfo)
Projects\RunningInstanceManager.cs (3)
56var appHostInfo = backchannel.AppHostInfo; 102var appHostInfo = backchannel.AppHostInfo; 119public async Task<bool> MonitorProcessesForTerminationAsync(AppHostInformation appHostInfo, CancellationToken cancellationToken)
Telemetry\ProfilingTelemetry.cs (1)
648internal ActivityScope StartStopAppHost(AppHostInformation? appHostInfo)
Aspire.Cli.Tests (18)
Backchannel\AppHostAuxiliaryBackchannelTests.cs (1)
157public Task<AppHostInformation> GetAppHostInformationAsync(CancellationToken cancellationToken = default)
Backchannel\OrphanedAppHostCollectorTests.cs (1)
217var stopped = Assert.Single(stopper.StopRequests);
Commands\DescribeCommandTests.cs (1)
965private static AppHostInformation CreateAppHostInfo(TemporaryWorkspace workspace, int processId)
Commands\LogsCommandTests.cs (1)
1622private static AppHostInformation CreateAppHostInfo(TemporaryWorkspace workspace, int processId)
Commands\PsCommandTests.cs (1)
811public Task<AppHostInformation> GetAppHostInformationAsync(CancellationToken cancellationToken = default)
Commands\ResourceCommandTests.cs (1)
209var appHostInfo = new AppHostInformation
Commands\TerminalCommandTests.cs (1)
673public AppHostInformation? AppHostInfo => _inner.AppHostInfo;
Mcp\ListAppHostsToolTests.cs (5)
48var appHostInfo = new AppHostInformation 80var appHostInfo = new AppHostInformation 112var inScopeAppHostInfo = new AppHostInformation 123var outOfScopeAppHostInfo = new AppHostInformation 172private static AppHostAuxiliaryBackchannel CreateAppHostConnection(string hash, string socketPath, AppHostInformation appHostInfo, bool isInScope)
Projects\RunningInstanceManagerTests.cs (1)
134public Task<AppHostInformation> GetAppHostInformationAsync(CancellationToken cancellationToken = default)
TestServices\TestAppHostAuxiliaryBackchannel.cs (1)
22public AppHostInformation? AppHostInfo { get; set; }
TestServices\TestAppHostStopper.cs (4)
18public List<AppHostInformation?> StopRequests { get; } = []; 23public Func<AppHostInformation?, bool>? StopResultSelector { get; set; } 28public Func<AppHostInformation?, Exception?>? ThrowSelector { get; set; } 36AppHostInformation? appHostInfo,