コード例 #1
0
        public int Search(XS_tableUpdateType collectionItem_in)
        {
            for (int i = 0; i < this.cols_.Count; i++)
            {
                if (
                    (
                                                #if NET_1_1
                        ((XS_tableUpdateType)this.cols_[i])
                                                #else
                        this.cols_[i]
                                                #endif
                        .Name.Equals(
                            collectionItem_in.Name,
                            StringComparison.CurrentCulture
                            )
                    )

                    )
                {
                    return(i);
                }
            }

            return(-1);
        }
コード例 #2
0
 public void CopyFrom(XS_tableUpdateType tableUpdateType_in)
 {
     this.name_ = tableUpdateType_in.name_;
     if (tableUpdateType_in.tableupdateparameters__ != null)
     {
         this.tableupdateparameters__.CopyFrom(tableUpdateType_in.tableupdateparameters__);
     }
 }
コード例 #3
0
ファイル: XS0_tableUpdateType.cs プロジェクト: katshann/ogen
		public void CopyFrom(XS_tableUpdateType tableUpdateType_in) {
			this.name_ = tableUpdateType_in.name_;
			if (tableUpdateType_in.tableupdateparameters__ != null) this.tableupdateparameters__.CopyFrom(tableUpdateType_in.tableupdateparameters__);
		}
コード例 #4
0
		public int Search(XS_tableUpdateType collectionItem_in) {
			for (int i = 0; i < this.cols_.Count; i++) {
				if (
					(
						#if NET_1_1
						((XS_tableUpdateType)this.cols_[i])
						#else
						this.cols_[i]
						#endif
							.Name.Equals(
								collectionItem_in.Name,
								StringComparison.CurrentCulture
							)
					)
					
				) {
					return i;
				}
			}

			return -1;
		}