Пример #1
0
        public int Search(XS_codeSampleType collectionItem_in)
        {
            for (int i = 0; i < cols_.Count; i++)
            {
                if (
                    (
                                                #if NET_1_1
                        ((XS_codeSampleType)cols_[i])
                                                #else
                        cols_[i]
                                                #endif
                        .IDCodeSample
                        ==
                        collectionItem_in.IDCodeSample
                    )

                    )
                {
                    return(i);
                }
            }

            return(-1);
        }
Пример #2
0
		public void CopyFrom(XS_codeSampleType codeSampleType_in) {
			int _index = -1;

			idcodesample_ = codeSampleType_in.idcodesample_;code_ = codeSampleType_in.code_;
		}
Пример #3
0
		public int Search(XS_codeSampleType collectionItem_in) {
			for (int i = 0; i < cols_.Count; i++) {
				if (
					(
						#if NET_1_1
						((XS_codeSampleType)cols_[i])
						#else
						cols_[i]
						#endif
							.IDCodeSample
						==
						collectionItem_in.IDCodeSample
					)
					
				) {
					return i;
				}
			}

			return -1;
		}
Пример #4
0
        public void CopyFrom(XS_codeSampleType codeSampleType_in)
        {
            int _index = -1;

            idcodesample_ = codeSampleType_in.idcodesample_; code_ = codeSampleType_in.code_;
        }