共用方式為


EnvironmentCallbackAnnotation.Callback Property

Definition

Gets or sets the callback action to be executed when the environment is being built.

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

Property Value

Applies to