private ParseManager GetParseManager() { var parsers = GetDataParsers(); var parseManager = new ParseManager(parsers); return parseManager; }
private ParseManager GetParseManager(string rootPath, string fileName) { var dataObtainers = new List<IDataObtainer>(); dataObtainers.Add(new ReleaseDataObtainer()); var dataParser = new DataParser(dataObtainers); var parsers = new List<IDataParser>(); parsers.Add(dataParser); var parseManager = new ParseManager(parsers); return parseManager; }