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