public void CopyFrom(XS_chaptersType chaptersType_in) { int _index = -1; chaptercollection_.Clear(); for (int d = 0; d < chaptersType_in.chaptercollection_.Count; d++) { chaptercollection_.Add( out _index, new XS_chapterType() ); chaptercollection_[_index].CopyFrom( chaptersType_in.chaptercollection_[d] ); } }
public void CopyFrom(XS_chaptersType chaptersType_in) { int _index = -1; this.chaptercollection_.Clear(); for (int d = 0; d < chaptersType_in.chaptercollection_.Count; d++) { this.chaptercollection_.Add( out _index, new XS_chapterType() ); this.chaptercollection_[_index].CopyFrom( chaptersType_in.chaptercollection_[d] ); } }