CommandLineArgsCallbackAnnotation.Callback Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the callback action to be executed when the executable arguments are parsed.
public Func<Aspire.Hosting.ApplicationModel.CommandLineArgsCallbackContext,System.Threading.Tasks.Task> Callback { get; }
member this.Callback : Func<Aspire.Hosting.ApplicationModel.CommandLineArgsCallbackContext, System.Threading.Tasks.Task>
Public ReadOnly Property Callback As Func(Of CommandLineArgsCallbackContext, Task)