public static RunspaceConfiguration Create( string consoleFilePath, out PSConsoleLoadException warnings) { using (RunspaceConfiguration.tracer.TraceMethod()) return((RunspaceConfiguration)RunspaceConfigForSingleShell.Create(consoleFilePath, out warnings)); }
/// <summary> /// Create one single shell runspace configuration object from console file /// </summary> /// <param name="consoleFilePath"></param> /// <param name="warnings"></param> /// <returns></returns> public static RunspaceConfiguration Create(string consoleFilePath, out PSConsoleLoadException warnings) { return(RunspaceConfigForSingleShell.Create(consoleFilePath, out warnings)); }