1 instantiation of SupportsDebuggingAnnotation
Aspire.Hosting (1)
SupportsDebuggingAnnotation.cs (1)
28return new SupportsDebuggingAnnotation(launchConfigurationType, (exe, mode) =>
16 references to SupportsDebuggingAnnotation
Aspire.Hosting (4)
Dcp\DcpExecutor.cs (1)
1307if (executable.SupportsDebugging(_configuration, out var supportsDebuggingAnnotation))
ResourceBuilderExtensions.cs (1)
3014return builder.WithAnnotation(SupportsDebuggingAnnotation.Create(launchConfigurationType, launchConfigurationProducer));
SupportsDebuggingAnnotation.cs (1)
26internal static SupportsDebuggingAnnotation Create<T>(string launchConfigurationType, Func<string, T> launchProfileProducer)
Utils\ExtensionUtils.cs (1)
16public static bool SupportsDebugging(this IResource builder, IConfiguration configuration, [NotNullWhen(true)] out SupportsDebuggingAnnotation? supportsDebuggingAnnotation)
Aspire.Hosting.Tests (12)
Dcp\DcpExecutorTests.cs (2)
2147var annotationToRemove = projectBuilder.Resource.Annotations.OfType<SupportsDebuggingAnnotation>().FirstOrDefault();
ExecutableResourceBuilderExtensionTests.cs (4)
82var annotation = executable.Resource.Annotations.OfType<SupportsDebuggingAnnotation>().SingleOrDefault(); 100var annotation = executable.Resource.Annotations.OfType<SupportsDebuggingAnnotation>().SingleOrDefault();
ProjectResourceTests.cs (6)
907var annotation = project.Resource.Annotations.OfType<SupportsDebuggingAnnotation>().SingleOrDefault(); 918var annotation = project.Resource.Annotations.OfType<SupportsDebuggingAnnotation>().SingleOrDefault(); 929var annotation = app.Resource.Annotations.OfType<SupportsDebuggingAnnotation>().SingleOrDefault();