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