2 writes to Callback
Aspire.Hosting (2)
ApplicationModel\CommandLineArgsCallbackAnnotation.cs (2)
22Callback = callback; 33Callback = (c) =>
17 references to Callback
Aspire.Hosting (3)
ApplicationModel\ArgumentsExecutionConfigurationGatherer.cs (1)
26await callback.Callback(callbackContext).ConfigureAwait(false);
ApplicationModel\ResourceExtensions.cs (2)
272await callback.Callback(context).ConfigureAwait(false); 1322await callback.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.Docker (1)
DockerComposeEnvironmentContext.cs (1)
178await callback.Callback(context).ConfigureAwait(false);
Aspire.Hosting.JavaScript.Tests (6)
AddViteAppTests.cs (2)
249commandLineArgsAnnotation.Callback(context); 274commandLineArgsAnnotation.Callback(context);
AddViteAppWithPnpmTests.cs (3)
34commandLineArgsAnnotation.Callback(context); 64commandLineArgsAnnotation.Callback(context); 97commandLineArgsAnnotation.Callback(context);
ResourceCreationTests.cs (1)
147annotation.Callback(ctx);
Aspire.Hosting.Kubernetes (1)
KubernetesResource.cs (1)
275await c.Callback(context).ConfigureAwait(false);
Aspire.Hosting.Tests (4)
Dashboard\DashboardLifecycleHookTests.cs (4)
255await argsAnnotation.Callback(new CommandLineArgsCallbackContext(args)); 340await argsAnnotation.Callback(new CommandLineArgsCallbackContext(args)); 412await argsAnnotation.Callback(new CommandLineArgsCallbackContext(args)); 482await argsAnnotation.Callback(new CommandLineArgsCallbackContext(args));