ResourceCommandAnnotation.UpdateState 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.
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)