public override BaseElement Clone() { DataSpec clone = new DataSpec(); clone.SetValues(this); return(clone); }
public void SetValues(DataSpec otherDataSpec) { name = otherDataSpec.Name; itemSubjectRef = otherDataSpec.ItemSubjectRef; isCollection = otherDataSpec.IsCollection; }