public TextParser(ISource source, ParseStd parseStd) { this.source = source; this.parseStd = parseStd; //Assign delegate ReadNextLine = ReadNextLineFromList; }
public TextParser(string fileName, ParseStd parseStd) { scpiFileName = fileName; this.parseStd = parseStd; OpenFile(); //Assign delegate ReadNextLine = ReadNextLineFromFile; }