PowerShellScriptResourceBuilderExtensions Methods
ClassMethods1 member
PowerShell script resource builder extensions.
WithArgs(IResourceBuilder<PowerShellScriptResource>, object[])Section titled WithArgs(IResourceBuilder<PowerShellScriptResource>, object[])extensionIResourceBuilder<PowerShellScriptResource> Provide arguments to the PowerShell script.
public static class PowerShellScriptResourceBuilderExtensions{ public static IResourceBuilder<PowerShellScriptResource> WithArgs( this IResourceBuilder<PowerShellScriptResource> builder, params object[] args) { // ... }}Parameters
builderIResourceBuilder<PowerShellScriptResource>argsobject[]Remarks
This overload is not available in polyglot app hosts. Use the string-based overload instead.