コード例 #1
0
        private ParseManager GetParseManager()
        {
            var parsers = GetDataParsers();
            var parseManager = new ParseManager(parsers);

            return parseManager;
        }
コード例 #2
0
        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;
        }