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