예제 #1
0
        public ModelFolderCollection Copy()
        {
            ModelFolderCollection copiedFolders = new ModelFolderCollection(itemCount);

            foreach (ModelFolder folder in this)
            {
                copiedFolders.Add(folder.Copy());
            }
            return(copiedFolders);
        }
예제 #2
0
        public ModelFolderCollection Clone()
        {
            ModelFolderCollection clonedModelFolder = new ModelFolderCollection(itemCount);

            foreach (ModelFolder item in this)
            {
                clonedModelFolder.Add(item);
            }
            return(clonedModelFolder);
        }