Esempio n. 1
0
 public Script(string code, IFileHandler fileHandler)
 {
     _rand        = new Random();
     _environment = new ScriptEnvironment();
     _code        = code;
     _settings    = ScriptSettings.Default;
     _fileHandler = fileHandler;
 }
Esempio n. 2
0
 public Script(string code, ScriptSettings settings, IFileHandler fileHandler) : this(code, fileHandler)
 {
     _settings = settings;
 }
Esempio n. 3
0
 public Script(string code, ScriptSettings settings) : this(code, settings, new FileHandler())
 {
 }