Exemplo n.º 1
0
 public LaunchConfiguration Clone(InterpreterConfiguration newConfig = null)
 {
     return(new LaunchConfiguration(newConfig ?? _config, _options)
     {
         PreferWindowedInterpreter = PreferWindowedInterpreter,
         InterpreterPath = InterpreterPath,
         InterpreterArguments = InterpreterArguments,
         ScriptName = ScriptName,
         ScriptArguments = ScriptArguments,
         WorkingDirectory = WorkingDirectory,
         Environment = Environment != null ? new Dictionary <string, string>(Environment) : null,
         SearchPaths = SearchPaths?.ToList()
     });
 }