Share via


ContainerFileSystemCallbackAnnotation.Callback Property

Definition

The callback to be executed when the container is created. Should return a tree of ContainerFileSystemItem entries to create (or update) in the container.

public Func<Aspire.Hosting.ApplicationModel.ContainerFileSystemCallbackContext,System.Threading.CancellationToken,System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Aspire.Hosting.ApplicationModel.ContainerFileSystemItem>>> Callback { get; init; }
member this.Callback : Func<Aspire.Hosting.ApplicationModel.ContainerFileSystemCallbackContext, System.Threading.CancellationToken, System.Threading.Tasks.Task<seq<Aspire.Hosting.ApplicationModel.ContainerFileSystemItem>>> with get, set
Public Property Callback As Func(Of ContainerFileSystemCallbackContext, CancellationToken, Task(Of IEnumerable(Of ContainerFileSystemItem)))

Property Value

Applies to