Skip to content
Docs Try Aspire

withArgsCallback

Function
📦 Aspire.Hosting v13.2.0-preview.1.26159.1
interface ContainerResource {
// ... omitted for brevity
withArgsCallback(callback: callback): IResourceWithArgs;
}

Signature

method withArgsCallback builder
Sets command-line arguments via callback
withArgsCallback(callback: (obj: CommandLineArgsCallbackContext) => void): IResourceWithArgs
callback (obj: CommandLineArgsCallbackContext) => void
IResourceWithArgs

Applies to

This function is an extension method on the following types: