Skip to content
Docs Try Aspire

CommandLineArgsCallbackAnnotation Properties

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