public void CopyFrom(XS_attachmentType attachmentType_in) { this.title_ = attachmentType_in.title_; this.showtitle_ = attachmentType_in.showtitle_; this.incrementlevel_ = attachmentType_in.incrementlevel_; this.source_ = attachmentType_in.source_; this.sourcetype_ = attachmentType_in.sourcetype_; this.sourcecontenttype_ = attachmentType_in.sourcecontenttype_; this.description_ = attachmentType_in.description_; }
public void CopyFrom(XS_attachmentType attachmentType_in) { int _index = -1; title_ = attachmentType_in.title_; showtitle_ = attachmentType_in.showtitle_; incrementlevel_ = attachmentType_in.incrementlevel_; source_ = attachmentType_in.source_; sourcetype_ = attachmentType_in.sourcetype_; sourcecontenttype_ = attachmentType_in.sourcecontenttype_; description_ = attachmentType_in.description_; }
private int NumberOf(XS_SourceContentTypeEnumeration sourceContentType_in) { int _counter = 0; XS_attachmentTypeCollection _parent = (XS_attachmentTypeCollection)parent_ref; for (int a = 0; a < _parent.Count; a++) { if (_parent[a].SourceContentType == sourceContentType_in) _counter++; if (_parent[a].Title == Title) { return _counter; } } return -1; }
private int NumberOf(XS_SourceContentTypeEnumeration sourceContentType_in) { int _counter = 0; XS_attachmentTypeCollection _parent = (XS_attachmentTypeCollection)parent_ref; for (int a = 0; a < _parent.Count; a++) { if (_parent[a].SourceContentType == sourceContentType_in) { _counter++; } if (_parent[a].Title == Title) { return(_counter); } } return(-1); }