2 writes to Callback
Aspire.Hosting (2)
ApplicationModel\CommandLineArgsCallbackAnnotation.cs (2)
28Callback = callback; 39Callback = (c) =>
21 references to Callback
Aspire.Hosting (3)
ApplicationModel\CommandLineArgsCallbackAnnotation.cs (1)
84await Callback(context).ConfigureAwait(false);
ApplicationModel\ResourceExtensions.cs (2)
282await callback.Callback(context).ConfigureAwait(false); 1717await ann.Callback(context).ConfigureAwait(false);
Aspire.Hosting.Azure.AppContainers (1)
BaseContainerAppContext.cs (1)
124await c.Callback(context).ConfigureAwait(false);
Aspire.Hosting.Azure.AppService (1)
AzureAppServiceWebsiteContext.cs (1)
88await c.Callback(context).ConfigureAwait(true);
Aspire.Hosting.Azure.Sandboxes (1)
AzureSandboxContainerDeployment.cs (1)
1045await callback.Callback(callbackContext).ConfigureAwait(false);
Aspire.Hosting.Docker (1)
DockerComposeEnvironmentContext.cs (1)
178await callback.Callback(context).ConfigureAwait(false);
Aspire.Hosting.JavaScript.Tests (7)
AddViteAppTests.cs (2)
511commandLineArgsAnnotation.Callback(context); 536commandLineArgsAnnotation.Callback(context);
AddViteAppWithPnpmTests.cs (4)
34commandLineArgsAnnotation.Callback(context); 68commandLineArgsAnnotation.Callback(context); 96commandLineArgsAnnotation.Callback(context); 129commandLineArgsAnnotation.Callback(context);
ResourceCreationTests.cs (1)
147annotation.Callback(ctx);
Aspire.Hosting.Kubernetes (1)
KubernetesResource.cs (1)
374await c.Callback(context).ConfigureAwait(false);
Aspire.Hosting.Maui.Tests (1)
MauiPlatformExtensionsTests.cs (1)
466await argsAnnotation.Callback(argsContext);
Aspire.Hosting.Tests (5)
Dashboard\DashboardEventHandlersTests.cs (4)
617await argsAnnotation.Callback(new CommandLineArgsCallbackContext(args)); 697await argsAnnotation.Callback(new CommandLineArgsCallbackContext(args)); 766await argsAnnotation.Callback(new CommandLineArgsCallbackContext(args)); 833await argsAnnotation.Callback(new CommandLineArgsCallbackContext(args));
WithTerminalTests.cs (1)
1262await callbackAnnotation.Callback(new CommandLineArgsCallbackContext(argsList, CancellationToken.None));