1 instantiation of SupportsDebuggingAnnotation
Aspire.Hosting (1)
SupportsDebuggingAnnotation.cs (1)
28
return new
SupportsDebuggingAnnotation
(launchConfigurationType, (exe, mode) =>
31 references to SupportsDebuggingAnnotation
Aspire.Hosting (5)
Dcp\DcpExecutor.cs (2)
1473
if (project.SupportsDebugging(_configuration, out
var
supportsDebuggingAnnotation))
1881
if (er.ModelResource.SupportsDebugging(_configuration, out
var
supportsDebuggingAnnotation)
ResourceBuilderExtensions.cs (1)
3314
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.JavaScript.Tests (8)
AddNodeAppTests.cs (8)
441
var
annotation = nodeApp.Resource.Annotations.OfType<
SupportsDebuggingAnnotation
>().SingleOrDefault();
454
var
annotation = nodeApp.Resource.Annotations.OfType<
SupportsDebuggingAnnotation
>().SingleOrDefault();
466
var
annotation = viteApp.Resource.Annotations.OfType<
SupportsDebuggingAnnotation
>().SingleOrDefault();
493
var
annotation = browserDebuggerResource.Annotations.OfType<
SupportsDebuggingAnnotation
>().SingleOrDefault();
Aspire.Hosting.Tests (18)
Dcp\DcpExecutorTests.cs (8)
2181
var
annotationToRemove = projectBuilder.Resource.Annotations.OfType<
SupportsDebuggingAnnotation
>().FirstOrDefault();
2398
var
annotationToRemove = projectBuilder.Resource.Annotations.OfType<
SupportsDebuggingAnnotation
>().FirstOrDefault();
2452
var
annotationToRemove = projectBuilder.Resource.Annotations.OfType<
SupportsDebuggingAnnotation
>().FirstOrDefault();
2502
var
annotationToRemove = projectBuilder.Resource.Annotations.OfType<
SupportsDebuggingAnnotation
>().FirstOrDefault();
ExecutableResourceBuilderExtensionTests.cs (4)
83
var
annotation = executable.Resource.Annotations.OfType<
SupportsDebuggingAnnotation
>().SingleOrDefault();
101
var
annotation = executable.Resource.Annotations.OfType<
SupportsDebuggingAnnotation
>().SingleOrDefault();
ProjectResourceTests.cs (6)
908
var
annotation = project.Resource.Annotations.OfType<
SupportsDebuggingAnnotation
>().SingleOrDefault();
919
var
annotation = project.Resource.Annotations.OfType<
SupportsDebuggingAnnotation
>().SingleOrDefault();
930
var
annotation = app.Resource.Annotations.OfType<
SupportsDebuggingAnnotation
>().SingleOrDefault();