/// <summary> Returns a copy of this instance, also copying each /// SegmentInfo. /// </summary> public override System.Object Clone() { SegmentInfos sis = new SegmentInfos(); for (int i = 0; i < this.Count; i++) { sis.Add(((SegmentInfo)this[i]).Clone()); } sis.counter = this.counter; sis.generation = this.generation; sis.lastGeneration = this.lastGeneration; // sis.pendingSegnOutput = this.pendingSegnOutput; // {{Aroush-2.9}} needed? sis.userData = new System.Collections.Generic.Dictionary <string, string>(userData); sis.version = this.version; return(sis); }
/// <summary> Returns a copy of this instance, also copying each /// SegmentInfo. /// </summary> public override System.Object Clone() { SegmentInfos sis = new SegmentInfos(); for (int i = 0; i < this.Count; i++) { sis.Add(((SegmentInfo) this[i]).Clone()); } sis.counter = this.counter; sis.generation = this.generation; sis.lastGeneration = this.lastGeneration; // sis.pendingSegnOutput = this.pendingSegnOutput; // {{Aroush-2.9}} needed? sis.userData = new System.Collections.Generic.Dictionary<string, string>(userData); sis.version = this.version; return sis; }