7 references to TerminalHostLaunchHelper
aspire (4)
Projects\DotNetAppHostProject.cs (2)
2664: layout is not null ? TerminalHostLaunchHelper.GetLaunch(layout, TerminalHostLaunchHelper.SupportsDirectLaunch(hostingVersion)) : null;
Projects\PrebuiltAppHostServer.cs (2)
263_supportsDirectTerminalHost = TerminalHostLaunchHelper.SupportsDirectLaunch(hostingVersion); 1461TerminalHostLaunchHelper.GetLaunch(_layout, _supportsDirectTerminalHost) is { } terminalHost)
Aspire.Cli.Tests (3)
Layout\LayoutConfigurationTests.cs (3)
28Assert.Equal(expected, TerminalHostLaunchHelper.SupportsDirectLaunch(hostingVersion is null ? null : SemVersion.Parse(hostingVersion))); 44var launch = TerminalHostLaunchHelper.GetLaunch(layout, supportsDirectLaunch); 58Assert.Null(TerminalHostLaunchHelper.GetLaunch(layout, supportsDirectLaunch: true));