示例#1
0
        public virtual MainOrganization Clone()
        {
            var clone = new MainOrganization(Name);

            CopyTo(clone);
            return(clone);
        }
示例#2
0
        public void CopyTo(MainOrganization entity)
        {
            if (entity == null)
            {
                throw new ArgumentNullException(nameof(entity));
            }

            entity.ArtifactNetwork = ArtifactNetwork.Clone();
            entity.ModelNetwork    = ModelNetwork.Clone();
            entity.Models          = Models.Clone();
            entity.Murphies        = Murphies.Clone();
            entity.Communication   = Communication;
            entity.Templates       = Templates;
        }