Пример #1
0
        public override BaseElement Clone()
        {
            DataSpec clone = new DataSpec();

            clone.SetValues(this);
            return(clone);
        }
Пример #2
0
 public void SetValues(DataSpec otherDataSpec)
 {
     name           = otherDataSpec.Name;
     itemSubjectRef = otherDataSpec.ItemSubjectRef;
     isCollection   = otherDataSpec.IsCollection;
 }