2 instantiations of ProjectLaunchConfiguration
Aspire.Hosting (2)
Dcp\DcpExecutor.cs (2)
971
var projectLaunchConfiguration = new
ProjectLaunchConfiguration
();
1024
var projectLaunchConfiguration = new
ProjectLaunchConfiguration
();
18 references to ProjectLaunchConfiguration
Aspire.Hosting (5)
Dcp\DcpExecutor.cs (2)
971
var
projectLaunchConfiguration = new ProjectLaunchConfiguration();
1024
var
projectLaunchConfiguration = new ProjectLaunchConfiguration();
Dcp\Model\Executable.cs (3)
248
public void SetProjectLaunchConfiguration(
ProjectLaunchConfiguration
launchConfiguration)
257
public bool TryGetProjectLaunchConfiguration([NotNullWhen(true)] out
ProjectLaunchConfiguration
? launchConfiguration)
260
if (this.TryGetAnnotationAsObjectList(LaunchConfigurationsAnnotation, out List<
ProjectLaunchConfiguration
>? launchConfigurations))
Aspire.Hosting.Tests (13)
Dcp\DcpExecutorTests.cs (13)
1302
Assert.True(exe.TryGetProjectLaunchConfiguration(out
var
plc));
1337
Assert.True(exe.TryGetProjectLaunchConfiguration(out
var
plc));
1373
Assert.True(exe.TryGetProjectLaunchConfiguration(out
var
plc));
1409
Assert.True(exe.TryGetProjectLaunchConfiguration(out
var
plc));
1440
Assert.True(exe.TryGetProjectLaunchConfiguration(out
var
plc));
1471
Assert.True(exe.TryGetProjectLaunchConfiguration(out
var
plc));
1501
Assert.True(exe.TryGetProjectLaunchConfiguration(out
var
plc));
1530
Assert.True(exe.TryGetProjectLaunchConfiguration(out
var
plc));
1575
Assert.True(debuggableExe.TryGetAnnotationAsObjectList<
ProjectLaunchConfiguration
>(Executable.LaunchConfigurationsAnnotation, out var launchConfigs1));
1576
var
config1 = Assert.Single(launchConfigs1);
1583
Assert.False(nonDebuggableExe.TryGetAnnotationAsObjectList<
ProjectLaunchConfiguration
>(Executable.LaunchConfigurationsAnnotation, out _));
1659
Assert.False(debuggableExe.TryGetAnnotationAsObjectList<
ProjectLaunchConfiguration
>(Executable.LaunchConfigurationsAnnotation, out _));
1663
Assert.False(nonDebuggableExe.TryGetAnnotationAsObjectList<
ProjectLaunchConfiguration
>(Executable.LaunchConfigurationsAnnotation, out _));