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