ManifestPublishingContext.WriteCommandLineArgumentsAsync(IResource) Method

Definition

Writes command line arguments to the manifest based on the IResource resource's CommandLineArgsCallbackAnnotation annotations.

public System.Threading.Tasks.Task WriteCommandLineArgumentsAsync (Aspire.Hosting.ApplicationModel.IResource resource);
member this.WriteCommandLineArgumentsAsync : Aspire.Hosting.ApplicationModel.IResource -> System.Threading.Tasks.Task
Public Function WriteCommandLineArgumentsAsync (resource As IResource) As Task

Parameters

resource
IResource

The IResource that contains CommandLineArgsCallbackAnnotation annotations.

Returns

The Task to await for completion.

Applies to