13 references to LaunchConfigurationsAnnotation
Aspire.Hosting (7)
Dcp\DcpExecutor.cs (3)
1493
exe.AnnotateAsObjectList(Executable.
LaunchConfigurationsAnnotation
, projectLaunchConfiguration);
1544
exe.AnnotateAsObjectList(Executable.
LaunchConfigurationsAnnotation
, projectLaunchConfiguration);
1888
exe.Annotate(Executable.
LaunchConfigurationsAnnotation
, string.Empty);
Dcp\Model\Executable.cs (3)
274
this.Annotate(
LaunchConfigurationsAnnotation
, string.Empty); // Clear existing annotation, if any.
275
this.AnnotateAsObjectList(
LaunchConfigurationsAnnotation
, launchConfiguration);
281
if (this.TryGetAnnotationAsObjectList(
LaunchConfigurationsAnnotation
, out List<ProjectLaunchConfiguration>? launchConfigurations))
SupportsDebuggingAnnotation.cs (1)
30
exe.AnnotateAsObjectList(Executable.
LaunchConfigurationsAnnotation
, launchProfileProducer(mode));
Aspire.Hosting.Tests (6)
Dcp\DcpExecutorTests.cs (5)
1729
Assert.True(debuggableExe.TryGetAnnotationAsObjectList<ExecutableLaunchConfiguration>(Executable.
LaunchConfigurationsAnnotation
, out var launchConfigs1));
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 _));
2437
Assert.True(exe.TryGetAnnotationAsObjectList<ExecutableLaunchConfiguration>(Executable.
LaunchConfigurationsAnnotation
, out var launchConfigs));
ExecutableResourceBuilderExtensionTests.cs (1)
89
Assert.True(exe.TryGetAnnotationAsObjectList<ExecutableLaunchConfiguration>(Executable.
LaunchConfigurationsAnnotation
, out var annotations));