Пример #1
0
 public void BindShapes(ShapeFile shapes)
 {
     foreach (var trip in this)
     {
         if (!trip.BindShape(shapes))
         {
             Console.WriteLine("[BIND_SHAPE_ISSUE]");
         }
     }
 }
Пример #2
0
 public bool BindShape(ShapeFile shapes)
 {
     foreach (var shp in shapes)
     {
         if (shp.Id == ShapeId)
         {
             _shape = shp; return(true);
         }
     }
     return(false);
 }