2 writes to Callback
Aspire.Hosting (2)
ApplicationModel\CommandLineArgsCallbackAnnotation.cs (2)
19Callback = callback; 30Callback = (c) =>
23 references to Callback
Aspire.Hosting (3)
Dcp\ApplicationExecutor.cs (2)
1335await exeArgsCallback.Callback(commandLineContext).ConfigureAwait(false); 1724await callback.Callback(commandLineArgsContext).ConfigureAwait(false);
Publishing\ManifestPublishingContext.cs (1)
530await callback.Callback(commandLineArgsContext).ConfigureAwait(false);
Aspire.Hosting.Azure.AppContainers (1)
AzureContainerAppsInfrastructure.cs (1)
460await c.Callback(context).ConfigureAwait(false);
Aspire.Hosting.Garnet.Tests (6)
AddGarnetTests.cs (6)
175Assert.NotNull(argsAnnotation.Callback); 176argsAnnotation.Callback(new CommandLineArgsCallbackContext(args)); 206Assert.NotNull(argsAnnotation.Callback); 207argsAnnotation.Callback(new CommandLineArgsCallbackContext(args)); 238Assert.NotNull(argsAnnotation.Callback); 239argsAnnotation.Callback(new CommandLineArgsCallbackContext(args));
Aspire.Hosting.Redis.Tests (6)
AddRedisTests.cs (6)
314Assert.NotNull(argsAnnotation.Callback); 315argsAnnotation.Callback(new CommandLineArgsCallbackContext(args)); 345Assert.NotNull(argsAnnotation.Callback); 346argsAnnotation.Callback(new CommandLineArgsCallbackContext(args)); 377Assert.NotNull(argsAnnotation.Callback); 378argsAnnotation.Callback(new CommandLineArgsCallbackContext(args));
Aspire.Hosting.Tests (1)
Utils\ArgumentEvaluator.cs (1)
19await exeArgsCallback.Callback(commandLineContext).ConfigureAwait(false);
Aspire.Hosting.Valkey.Tests (6)
AddValkeyTests.cs (6)
175Assert.NotNull(argsAnnotation.Callback); 176argsAnnotation.Callback(new CommandLineArgsCallbackContext(args)); 206Assert.NotNull(argsAnnotation.Callback); 207argsAnnotation.Callback(new CommandLineArgsCallbackContext(args)); 238Assert.NotNull(argsAnnotation.Callback); 239argsAnnotation.Callback(new CommandLineArgsCallbackContext(args));