예제 #1
0
        public MapDataCollection Copy(UniqueNumberGenerator numberGenerator)
        {
            var copy = new MapDataCollection();

            foreach (var d in Data)
            {
                copy.Add((IMapData)d.Copy(numberGenerator));
            }
            return(copy);
        }
예제 #2
0
        public MapDataCollection Clone()
        {
            var copy = new MapDataCollection();

            foreach (var d in Data)
            {
                copy.Add((IMapData)d.Clone());
            }
            return(copy);
        }