9 references to LaunchConfigurationsAnnotation
Aspire.Hosting (5)
Dcp\DcpExecutor.cs (2)
980
exe.AnnotateAsObjectList(Executable.
LaunchConfigurationsAnnotation
, projectLaunchConfiguration);
1085
exeSpec.AnnotateAsObjectList(Executable.
LaunchConfigurationsAnnotation
, projectLaunchConfiguration);
Dcp\Model\Executable.cs (3)
253
this.Annotate(
LaunchConfigurationsAnnotation
, string.Empty); // Clear existing annotation, if any.
254
this.AnnotateAsObjectList(
LaunchConfigurationsAnnotation
, launchConfiguration);
260
if (this.TryGetAnnotationAsObjectList(
LaunchConfigurationsAnnotation
, out List<ProjectLaunchConfiguration>? launchConfigurations))
Aspire.Hosting.Tests (4)
Dcp\DcpExecutorTests.cs (4)
1575
Assert.True(debuggableExe.TryGetAnnotationAsObjectList<ProjectLaunchConfiguration>(Executable.
LaunchConfigurationsAnnotation
, out var 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 _));