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