示例#1
0
        private void DuplicateImages(int times)
        {
            IEnumerable <ImageInfo> tmpList = new ImageInfo[0];

            for (var i = 0; i < times; i++)
            {
                var clone = new LinkedList <ImageInfo>(_imageInfos);
                tmpList = tmpList.Concat(clone);
            }

            _imageInfos = new LinkedList <ImageInfo>(tmpList);
        }