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