public ISqlSearch Clone() { var clone = new ComplexSearch(this.IsOr); clone.CopyFrom(this); return(clone); }
public SearchInformation(ComplexSearch root) { this.Root = root; this.SortSettings = new List <SortSetting>(); }
public void CopyFrom(ComplexSearch source) { this.InnerChildren = new ObservableCollection <ISqlSearch> (source.InnerChildren.Select(x => x.Clone())); this.IsOr = source.IsOr; }