ContainerFileSystemCallbackAnnotation.Callback 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.
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)))