4 instantiations of ProjectLaunchConfiguration
Aspire.Hosting (4)
Dcp\DcpExecutor.cs (1)
1344
var projectLaunchConfiguration = new
ProjectLaunchConfiguration
();
ProjectResourceBuilderExtensions.cs (3)
248
.WithDebugSupport(mode => new
ProjectLaunchConfiguration
{ ProjectPath = projectMetadata.ProjectPath, Mode = mode }, "project")
293
.WithDebugSupport(mode => new
ProjectLaunchConfiguration
{ ProjectPath = projectPath, Mode = mode }, "project")
374
.WithDebugSupport(mode => new
ProjectLaunchConfiguration
{ ProjectPath = projectMetadata.ProjectPath, Mode = mode }, "project")
15 references to ProjectLaunchConfiguration
Aspire.Hosting (4)
Dcp\DcpExecutor.cs (1)
1344
var
projectLaunchConfiguration = new ProjectLaunchConfiguration();
Dcp\Model\Executable.cs (3)
269
public void SetProjectLaunchConfiguration(
ProjectLaunchConfiguration
launchConfiguration)
278
public bool TryGetProjectLaunchConfiguration([NotNullWhen(true)] out
ProjectLaunchConfiguration
? launchConfiguration)
281
if (this.TryGetAnnotationAsObjectList(LaunchConfigurationsAnnotation, out List<
ProjectLaunchConfiguration
>? launchConfigurations))
Aspire.Hosting.Tests (11)
Dcp\DcpExecutorTests.cs (11)
1417
Assert.True(exe.TryGetProjectLaunchConfiguration(out
var
plc));
1452
Assert.True(exe.TryGetProjectLaunchConfiguration(out
var
plc));
1488
Assert.True(exe.TryGetProjectLaunchConfiguration(out
var
plc));
1524
Assert.True(exe.TryGetProjectLaunchConfiguration(out
var
plc));
1555
Assert.True(exe.TryGetProjectLaunchConfiguration(out
var
plc));
1586
Assert.True(exe.TryGetProjectLaunchConfiguration(out
var
plc));
1616
Assert.True(exe.TryGetProjectLaunchConfiguration(out
var
plc));
1645
Assert.True(exe.TryGetProjectLaunchConfiguration(out
var
plc));
1702
Assert.False(nonDebuggableExe.TryGetAnnotationAsObjectList<
ProjectLaunchConfiguration
>(Executable.LaunchConfigurationsAnnotation, out _));
1776
Assert.False(debuggableExe.TryGetAnnotationAsObjectList<
ProjectLaunchConfiguration
>(Executable.LaunchConfigurationsAnnotation, out _));
1780
Assert.False(nonDebuggableExe.TryGetAnnotationAsObjectList<
ProjectLaunchConfiguration
>(Executable.LaunchConfigurationsAnnotation, out _));