internal SLTuple Clone() { SLTuple t = new SLTuple(); t.Field = this.Field; t.Hierarchy = this.Hierarchy; t.Item = this.Item; return t; }
internal SLTuple Clone() { SLTuple t = new SLTuple(); t.Field = this.Field; t.Hierarchy = this.Hierarchy; t.Item = this.Item; return(t); }
internal void FromSortByTuple(SortByTuple sbt) { this.SetAllNull(); if (sbt.MemberNameCount != null) this.MemberNameCount = sbt.MemberNameCount.Value; SLTuple t; using (OpenXmlReader oxr = OpenXmlReader.Create(sbt)) { while (oxr.Read()) { if (oxr.ElementType == typeof(Tuple)) { t = new SLTuple(); t.FromTuple((Tuple)oxr.LoadCurrentElement()); this.Tuples.Add(t); } } } }
internal void FromTuples(Tuples tpls) { this.SetAllNull(); if (tpls.MemberNameCount != null) { this.MemberNameCount = tpls.MemberNameCount.Value; } SLTuple t; using (OpenXmlReader oxr = OpenXmlReader.Create(tpls)) { while (oxr.Read()) { if (oxr.ElementType == typeof(Tuple)) { t = new SLTuple(); t.FromTuple((Tuple)oxr.LoadCurrentElement()); this.Tuples.Add(t); } } } }