public MapDataCollection Copy(UniqueNumberGenerator numberGenerator) { var copy = new MapDataCollection(); foreach (var d in Data) { copy.Add((IMapData)d.Copy(numberGenerator)); } return(copy); }
public MapDataCollection Clone() { var copy = new MapDataCollection(); foreach (var d in Data) { copy.Add((IMapData)d.Clone()); } return(copy); }