4 instantiations of LaunchToolArgsCallbackAnnotation
Aspire.Hosting (1)
ResourceBuilderExtensions.cs (1)
4825return builder.WithAnnotation(new LaunchToolArgsCallbackAnnotation(
Aspire.Hosting.Tests (3)
Dcp\ExecutableLaunchPlanTests.cs (3)
21resource.Annotations.Add(new LaunchToolArgsCallbackAnnotation( 68resource.Annotations.Add(new LaunchToolArgsCallbackAnnotation( 127resource.Annotations.Add(new LaunchToolArgsCallbackAnnotation(
15 references to LaunchToolArgsCallbackAnnotation
Aspire.Hosting (15)
ApplicationModel\ArgumentsExecutionConfigurationGatherer.cs (2)
64if (!resource.TryGetLastAnnotation<LaunchToolArgsCallbackAnnotation>(out var launchToolAnnotation))
ApplicationModel\DebugSupportExtensions.cs (2)
93return resource.TryGetLastAnnotation<LaunchToolArgsCallbackAnnotation>(out var launchToolAnnotation)
ApplicationModel\ExecutableLaunchRecipe.cs (4)
322resource.TryGetLastAnnotation<LaunchToolArgsCallbackAnnotation>(out var launchToolAnnotation) && 489resource.TryGetLastAnnotation<LaunchToolArgsCallbackAnnotation>(out var launchToolAnnotation) &&
ApplicationModel\LaunchToolArgsCallbackAnnotation.cs (3)
40/// Initializes a new instance of the <see cref="LaunchToolArgsCallbackAnnotation"/> class. 135/// <see cref="LaunchToolArgsCallbackAnnotation"/>, so that consumers that compose the actual command line 143/// Mirrors <see cref="LaunchToolArgsCallbackAnnotation.ShowInCommandLine"/>.
ApplicationModel\ResourceExtensions.cs (2)
309!resource.TryGetLastAnnotation<LaunchToolArgsCallbackAnnotation>(out var annotation))
Dcp\DcpExecutor.cs (2)
1348if (resource.TryGetAnnotationsOfType<LaunchToolArgsCallbackAnnotation>(out var launchToolArgsCallbacks)) 1350foreach (var callback in launchToolArgsCallbacks)