共用方式為


ResourceCommandAnnotation.ExecuteCommand Property

Definition

A callback that is executed when the command is executed. The result is used to indicate success or failure in the UI.

public Func<Aspire.Hosting.ApplicationModel.ExecuteCommandContext,System.Threading.Tasks.Task<Aspire.Hosting.ApplicationModel.ExecuteCommandResult>> ExecuteCommand { get; }
member this.ExecuteCommand : Func<Aspire.Hosting.ApplicationModel.ExecuteCommandContext, System.Threading.Tasks.Task<Aspire.Hosting.ApplicationModel.ExecuteCommandResult>>
Public ReadOnly Property ExecuteCommand As Func(Of ExecuteCommandContext, Task(Of ExecuteCommandResult))

Property Value

Applies to