Skip to content
Docs Try Aspire

PowerShellScriptResourceBuilderExtensions Methods

Class Methods 1 member
PowerShell script resource builder extensions.
WithArgs(IResourceBuilder<PowerShellScriptResource>, object[]) Section titled WithArgs(IResourceBuilder<PowerShellScriptResource>, object[]) extension IResourceBuilder<PowerShellScriptResource>
Provide arguments to the PowerShell script.
public static class PowerShellScriptResourceBuilderExtensions
{
public static IResourceBuilder<PowerShellScriptResource> WithArgs(
this IResourceBuilder<PowerShellScriptResource> builder,
params object[] args)
{
// ...
}
}
builder IResourceBuilder<PowerShellScriptResource>
args object[]