5 instantiations of ProjectLaunchConfiguration
Aspire.Hosting (5)
Dcp\DcpExecutor.cs (2)
1480
var projectLaunchConfiguration = new
ProjectLaunchConfiguration
();
1502
var projectLaunchConfiguration = new
ProjectLaunchConfiguration
();
ProjectResourceBuilderExtensions.cs (3)
256
.WithDebugSupport(mode => new
ProjectLaunchConfiguration
{ ProjectPath = projectMetadata.ProjectPath, Mode = mode }, "project")
302
.WithDebugSupport(mode => new
ProjectLaunchConfiguration
{ ProjectPath = projectPath, Mode = mode }, "project")
385
.WithDebugSupport(mode => new
ProjectLaunchConfiguration
{ ProjectPath = projectMetadata.ProjectPath, Mode = mode }, "project")
17 references to ProjectLaunchConfiguration
Aspire.Hosting (5)
Dcp\DcpExecutor.cs (2)
1480
var
projectLaunchConfiguration = new ProjectLaunchConfiguration();
1502
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 (12)
Dcp\DcpExecutorTests.cs (12)
1418
Assert.True(exe.TryGetProjectLaunchConfiguration(out
var
plc));
1452
Assert.True(exe.TryGetProjectLaunchConfiguration(out
var
plc));
1486
Assert.True(exe.TryGetProjectLaunchConfiguration(out
var
plc));
1522
Assert.True(exe.TryGetProjectLaunchConfiguration(out
var
plc));
1558
Assert.True(exe.TryGetProjectLaunchConfiguration(out
var
plc));
1589
Assert.True(exe.TryGetProjectLaunchConfiguration(out
var
plc));
1620
Assert.True(exe.TryGetProjectLaunchConfiguration(out
var
plc));
1650
Assert.True(exe.TryGetProjectLaunchConfiguration(out
var
plc));
1679
Assert.True(exe.TryGetProjectLaunchConfiguration(out
var
plc));
1736
Assert.False(nonDebuggableExe.TryGetAnnotationAsObjectList<
ProjectLaunchConfiguration
>(Executable.LaunchConfigurationsAnnotation, out _));
1810
Assert.False(debuggableExe.TryGetAnnotationAsObjectList<
ProjectLaunchConfiguration
>(Executable.LaunchConfigurationsAnnotation, out _));
1814
Assert.False(nonDebuggableExe.TryGetAnnotationAsObjectList<
ProjectLaunchConfiguration
>(Executable.LaunchConfigurationsAnnotation, out _));