Ejemplo n.º 1
0
 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));
 }
Ejemplo n.º 2
0
 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));
 }