ManifestPublishingContext.WriteCommandLineArgumentsAsync(IResource) Method
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.
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.