Share via


ResourceCommandAnnotation.UpdateState Property

Definition

A callback that is used to update the command state. The callback is executed when the command's resource snapshot is updated.

public Func<Aspire.Hosting.ApplicationModel.UpdateCommandStateContext,Aspire.Hosting.ApplicationModel.ResourceCommandState> UpdateState { get; }
member this.UpdateState : Func<Aspire.Hosting.ApplicationModel.UpdateCommandStateContext, Aspire.Hosting.ApplicationModel.ResourceCommandState>
Public ReadOnly Property UpdateState As Func(Of UpdateCommandStateContext, ResourceCommandState)

Property Value

Applies to