PowerShell IParameterMetadataProvider.GetPowerShell(ExecutionContext context, Dictionary <string, object> variables, bool filterNonUsingVariables, bool?createLocalScope, params object[] args) { ExecutionContext.CheckStackDepth(); return(ScriptBlockToPowerShellConverter.Convert(this.Body, this.Parameters, context, variables, filterNonUsingVariables, createLocalScope, args)); }
PowerShell IParameterMetadataProvider.GetPowerShell(System.Management.Automation.ExecutionContext context, Dictionary <string, object> variables, bool filterNonUsingVariables, bool?createLocalScope, params object[] args) { System.Management.Automation.ExecutionContext.CheckStackDepth(); return(ScriptBlockToPowerShellConverter.Convert(this, null, context, variables, filterNonUsingVariables, createLocalScope, args)); }