65 instantiations of AppHostInformation
Aspire.Cli.Tests (65)
Backchannel\AppHostAuxiliaryBackchannelTests.cs (1)
202return new AppHostInformation
Backchannel\AppHostConnectionResolverTests.cs (1)
532AppHostInfo = 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)
138AppHostInfo = new AppHostInformation 205AppHostInfo = new AppHostInformation 279AppHostInfo = new AppHostInformation 393AppHostInfo = new AppHostInformation 474AppHostInfo = new AppHostInformation
Commands\AppHostLauncherTests.cs (6)
1395connection.AppHostInfo ??= new AppHostInformation 1766AppHostInfo = new AppHostInformation 1790AppHostInfo = new AppHostInformation 1811AppHostInfo = new AppHostInformation 1828AppHostInfo = new AppHostInformation 1920AppHostInfo = 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 139AppHostInfo = new AppHostInformation 230AppHostInfo = new AppHostInformation 270AppHostInfo = new AppHostInformation 314AppHostInfo = new AppHostInformation 358AppHostInfo = new AppHostInformation 437AppHostInfo = new AppHostInformation 498AppHostInfo = new AppHostInformation 537AppHostInfo = new AppHostInformation 601AppHostInfo = new AppHostInformation 645AppHostInfo = new AppHostInformation 685AppHostInfo = new AppHostInformation 732AppHostInfo = new AppHostInformation 814return Task.FromResult(new AppHostInformation
Commands\ResourceCommandTests.cs (2)
209var appHostInfo = new AppHostInformation 1212AppHostInfo = new AppHostInformation
Commands\StopCommandTests.cs (1)
1324AppHostInfo = new AppHostInformation
Commands\TelemetryTestHelper.cs (1)
76AppHostInfo = new AppHostInformation
Commands\TelemetryTracesCommandTests.cs (1)
85AppHostInfo = new AppHostInformation
Mcp\AppHostConnectionSelectionLogicTests.cs (1)
106appHostInfo: 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
Mcp\SelectAppHostToolTests.cs (1)
43AppHostInfo = 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
TestServices\TerminalCommandTestServices.cs (1)
22AppHostInfo = new AppHostInformation
41 references to AppHostInformation
aspire (23)
Backchannel\AppHostAuxiliaryBackchannel.cs (9)
44AppHostInformation? appHostInfo, 66AppHostInformation? appHostInfo, 79public AppHostInformation? AppHostInfo { get; private set; } 203var appHostInfoTask = rpc.InvokeWithProfilingAsync<AppHostInformation?>( 210var appHostInfo = await appHostInfoTask.WaitAsync(handshakeCancellation.Token).ConfigureAwait(false); 292public async Task<AppHostInformation?> GetAppHostInformationAsync(CancellationToken cancellationToken = default) 298var appHostInfo = await rpc.InvokeWithProfilingAsync<AppHostInformation?>( 574var legacyInfo = await GetAppHostInformationAsync(cancellationToken).ConfigureAwait(false);
Backchannel\BackchannelJsonSerializerContext.cs (1)
45[JsonSerializable(typeof(AppHostInformation))]
Backchannel\IAppHostAuxiliaryBackchannel.cs (1)
28AppHostInformation? AppHostInfo { get; }
Backchannel\OrphanedAppHostCollector.cs (1)
50var appHostInfo = connection.AppHostInfo;
Commands\AppHostLauncher.cs (1)
960var appHostInfo = result.Backchannel!.AppHostInfo;
Commands\PsCommand.cs (1)
333var info = connection.AppHostInfo;
Commands\StopCommand.cs (1)
515var appHostInfo = connection.AppHostInfo;
Processes\IAppHostStopper.cs (1)
23AppHostInformation? appHostInfo,
Processes\ProcessTreeGracefulShutdownService.cs (3)
44AppHostInformation? appHostInfo, 135AppHostInformation appHostInfo, 352internal static ProcessTarget CreateAppHostProcessTarget(AppHostInformation appHostInfo)
Projects\RunningInstanceManager.cs (3)
56var appHostInfo = backchannel.AppHostInfo; 100var appHostInfo = backchannel.AppHostInfo; 117public async Task<bool> MonitorProcessesForTerminationAsync(AppHostInformation appHostInfo, CancellationToken cancellationToken)
Telemetry\ProfilingTelemetry.cs (1)
644internal ActivityScope StartStopAppHost(AppHostInformation? appHostInfo)
Aspire.Cli.Tests (18)
Backchannel\AppHostAuxiliaryBackchannelTests.cs (1)
197public async 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)
810public Task<AppHostInformation> GetAppHostInformationAsync(CancellationToken cancellationToken = default)
Commands\ResourceCommandTests.cs (1)
209var appHostInfo = new AppHostInformation
Commands\TerminalCommandTests.cs (1)
820public 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)
33public 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; } 52AppHostInformation? appHostInfo,