public int Search(XS_itemType collectionItem_in) { for (int i = 0; i < this.cols_.Count; i++) { if ( ( #if NET_1_1 ((XS_itemType)this.cols_[i]) #else this.cols_[i] #endif .Title.Equals( collectionItem_in.Title, StringComparison.CurrentCulture ) ) ) { return(i); } } return(-1); }
public void CopyFrom(XS_itemType itemType_in) { this.title_ = itemType_in.title_; this.subtitle_ = itemType_in.subtitle_; this.isintroduction_ = itemType_in.isintroduction_; this.issummary_ = itemType_in.issummary_; if (itemType_in.attachments__ != null) { this.attachments__.CopyFrom(itemType_in.attachments__); } }
public void CopyFrom(XS_itemType itemType_in) { int _index = -1; title_ = itemType_in.title_; subtitle_ = itemType_in.subtitle_; isintroduction_ = itemType_in.isintroduction_; issummary_ = itemType_in.issummary_; if (itemType_in.attachments__ != null) { attachments__.CopyFrom(itemType_in.attachments__); } }
public int Search(XS_itemType collectionItem_in) { for (int i = 0; i < cols_.Count; i++) { if ( ( #if NET_1_1 ((XS_itemType)cols_[i]) #else cols_[i] #endif .Title == collectionItem_in.Title ) ) { return(i); } } return(-1); }
public int Search(XS_itemType collectionItem_in) { for (int i = 0; i < cols_.Count; i++) { if ( ( #if NET_1_1 ((XS_itemType)cols_[i]) #else cols_[i] #endif .Title == collectionItem_in.Title ) ) { return i; } } return -1; }
public void CopyFrom(XS_itemType itemType_in) { int _index = -1; title_ = itemType_in.title_; subtitle_ = itemType_in.subtitle_; isintroduction_ = itemType_in.isintroduction_; issummary_ = itemType_in.issummary_; if (itemType_in.attachments__ != null) attachments__.CopyFrom(itemType_in.attachments__); }
public void CopyFrom(XS_itemType itemType_in) { this.title_ = itemType_in.title_; this.subtitle_ = itemType_in.subtitle_; this.isintroduction_ = itemType_in.isintroduction_; this.issummary_ = itemType_in.issummary_; if (itemType_in.attachments__ != null) this.attachments__.CopyFrom(itemType_in.attachments__); }
public int Search(XS_itemType collectionItem_in) { for (int i = 0; i < this.cols_.Count; i++) { if ( ( #if NET_1_1 ((XS_itemType)this.cols_[i]) #else this.cols_[i] #endif .Title.Equals( collectionItem_in.Title, StringComparison.CurrentCulture ) ) ) { return i; } } return -1; }