Beispiel #1
0
        public IEnumerable <T> Parse(string path)
        {
            List <T> list = MappedReader.Read <T>(path, this.Map).ToList();

            this.AddRange(list.Except(this));
            return(this.Where(elem => list.Contains(elem)));
        }
Beispiel #2
0
 public static IEnumerable <T> Read <T>(string path, Map map)
     where T : new()
 {
     return(MappedReader.Read <T>(path, map, Driver.GetInputDriverForFile(path)));
 }