Ejemplo n.º 1
0
 public OverlappingRectangles(string file)
     : this(FileHelper.OpenFile(file))
 {
 }
Ejemplo n.º 2
0
 public SetIntersection(string file)
 {
     _lines                                                             = from line in FileHelper.OpenFile(file)
                                      let lists                         = line.Split(new [] { ';' }).ToArray()
                                                              let first = lists[0].Split(new [] { ',' })
                                                                          let second = lists[1].Split(new [] { ',' })
                                                                                       select Tuple.Create(first, second);
 }
Ejemplo n.º 3
0
 public RightmostChar(string file)
 {
     _lines                         = from line in FileHelper.OpenFile(file)
                          let parts = line.Split(new [] { ',' }).ToArray()
                                      select Tuple.Create(parts[0], parts[1]);
 }