Exemplo n.º 1
0
        /// <summary>
        /// Deep Clone
        /// </summary>
        /// <returns></returns>
        public IDSRepositoryCategoryCollection Copy()
        {
            IDSRepositoryCategoryCollection repositoryCategories = new IDSRepositoryCategoryCollection();

            if (this.Count <= 0)
            {
                return(repositoryCategories);
            }
            else
            {
                foreach (IDSRepositoryCategory repositoryCategory in this)
                {
                    repositoryCategories.Add(repositoryCategory.Copy());
                }
                return(repositoryCategories);
            }
        }
Exemplo n.º 2
0
 public IDSFrame()
 {
     _systems = new IDSSystemCollection();
     _repositoryCategories = new IDSRepositoryCategoryCollection();
 }