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