Skip to content
Docs Try Aspire

IResourceWithArgs.withArgsCallback

Method
📦 Aspire.Hosting v13.2.0-preview.1.26159.1
interface IResourceWithArgs {
// ... omitted for brevity
withArgsCallback(callback: (obj: CommandLineArgsCallbackContext) => void): IResourceWithArgs;
}

Signature

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

Defined on

This method is defined on the following type: