public int Search(XS_dependencyType collectionItem_in) { for (int i = 0; i < this.cols_.Count; i++) { if ( ( #if NET_1_1 ((XS_dependencyType)this.cols_[i]) #else this.cols_[i] #endif .TemplateID.Equals( collectionItem_in.TemplateID, StringComparison.CurrentCulture ) ) ) { return(i); } } return(-1); }
public int Search(XS_dependencyType collectionItem_in) { for (int i = 0; i < this.cols_.Count; i++) { if ( ( #if NET_1_1 ((XS_dependencyType)this.cols_[i]) #else this.cols_[i] #endif .TemplateID.Equals( collectionItem_in.TemplateID, StringComparison.CurrentCulture ) ) ) { return i; } } return -1; }
public void CopyFrom(XS_dependencyType dependencyType_in) { this.templateid_ = dependencyType_in.templateid_; }