5 instantiations of ProjectLaunchConfiguration
Aspire.Hosting (5)
Dcp\DcpExecutor.cs (2)
1480var projectLaunchConfiguration = new ProjectLaunchConfiguration(); 1502var 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)
1480var projectLaunchConfiguration = new ProjectLaunchConfiguration(); 1502var projectLaunchConfiguration = new ProjectLaunchConfiguration();
Dcp\Model\Executable.cs (3)
269public void SetProjectLaunchConfiguration(ProjectLaunchConfiguration launchConfiguration) 278public bool TryGetProjectLaunchConfiguration([NotNullWhen(true)] out ProjectLaunchConfiguration? launchConfiguration) 281if (this.TryGetAnnotationAsObjectList(LaunchConfigurationsAnnotation, out List<ProjectLaunchConfiguration>? launchConfigurations))
Aspire.Hosting.Tests (12)
Dcp\DcpExecutorTests.cs (12)
1418Assert.True(exe.TryGetProjectLaunchConfiguration(out var plc)); 1452Assert.True(exe.TryGetProjectLaunchConfiguration(out var plc)); 1486Assert.True(exe.TryGetProjectLaunchConfiguration(out var plc)); 1522Assert.True(exe.TryGetProjectLaunchConfiguration(out var plc)); 1558Assert.True(exe.TryGetProjectLaunchConfiguration(out var plc)); 1589Assert.True(exe.TryGetProjectLaunchConfiguration(out var plc)); 1620Assert.True(exe.TryGetProjectLaunchConfiguration(out var plc)); 1650Assert.True(exe.TryGetProjectLaunchConfiguration(out var plc)); 1679Assert.True(exe.TryGetProjectLaunchConfiguration(out var plc)); 1736Assert.False(nonDebuggableExe.TryGetAnnotationAsObjectList<ProjectLaunchConfiguration>(Executable.LaunchConfigurationsAnnotation, out _)); 1810Assert.False(debuggableExe.TryGetAnnotationAsObjectList<ProjectLaunchConfiguration>(Executable.LaunchConfigurationsAnnotation, out _)); 1814Assert.False(nonDebuggableExe.TryGetAnnotationAsObjectList<ProjectLaunchConfiguration>(Executable.LaunchConfigurationsAnnotation, out _));