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