Skip to content
DocsTry Aspire
DocsTry

CommandLineArgsCallbackAnnotation Properties

ClassProperties1 member
Represents an annotation that provides a callback to be executed with a list of command-line arguments when an executable resource is started.
CallbackSection titled CallbackFunc<CommandLineArgsCallbackContext, Task>
Gets the callback action to be executed when the executable arguments are parsed.
public Func<CommandLineArgsCallbackContext, Task> Callback { get; }