public void CopyFrom(XS_dependenciesType dependenciesType_in) { int _index = -1; this.dependencycollection_.Clear(); for (int d = 0; d < dependenciesType_in.dependencycollection_.Count; d++) { this.dependencycollection_.Add( out _index, new XS_dependencyType() ); this.dependencycollection_[_index].CopyFrom( dependenciesType_in.dependencycollection_[d] ); } }