public Interpreter(FileInfo file, TextReader reader, TextWriter writer, SecureRandom randomizer) : base() { if (file == null) { throw new ArgumentNullException(nameof(file)); } this.executor = new Executor( new Parser(File.ReadAllLines(file.FullName)).Parse(), reader, writer, randomizer); }
public Interpreter(string[] lines, TextReader reader, TextWriter writer, SecureRandom randomizer) : base() { this.executor = new Executor( new Parser(lines).Parse(), reader, writer, randomizer); }