示例#1
0
        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;
		}
示例#3
0
 public void CopyFrom(XS_dependencyType dependencyType_in)
 {
     this.templateid_ = dependencyType_in.templateid_;
 }
示例#4
0
		public void CopyFrom(XS_dependencyType dependencyType_in) {
			this.templateid_ = dependencyType_in.templateid_;
		}