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);
1461
TerminalHostLaunchHelper
.GetLaunch(_layout, _supportsDirectTerminalHost) is { } terminalHost)
Aspire.Cli.Tests (3)
Layout\LayoutConfigurationTests.cs (3)
28
Assert.Equal(expected,
TerminalHostLaunchHelper
.SupportsDirectLaunch(hostingVersion is null ? null : SemVersion.Parse(hostingVersion)));
44
var launch =
TerminalHostLaunchHelper
.GetLaunch(layout, supportsDirectLaunch);
58
Assert.Null(
TerminalHostLaunchHelper
.GetLaunch(layout, supportsDirectLaunch: true));