Esempio n. 1
0
        public void CopyFrom(XS_faqType faqType_in)
        {
            int _index = -1;

            idfaq_    = faqType_in.idfaq_;
            question_ = faqType_in.question_; answer_ = faqType_in.answer_;
        }
Esempio n. 2
0
        public int Search(XS_faqType collectionItem_in)
        {
            for (int i = 0; i < cols_.Count; i++)
            {
                if (
                    (
                                                #if NET_1_1
                        ((XS_faqType)cols_[i])
                                                #else
                        cols_[i]
                                                #endif
                        .IDFAQ
                        ==
                        collectionItem_in.IDFAQ
                    )

                    )
                {
                    return(i);
                }
            }

            return(-1);
        }
Esempio n. 3
0
		public void CopyFrom(XS_faqType faqType_in) {
			int _index = -1;

			idfaq_ = faqType_in.idfaq_;
			question_ = faqType_in.question_;answer_ = faqType_in.answer_;
		}
Esempio n. 4
0
		public int Search(XS_faqType collectionItem_in) {
			for (int i = 0; i < cols_.Count; i++) {
				if (
					(
						#if NET_1_1
						((XS_faqType)cols_[i])
						#else
						cols_[i]
						#endif
							.IDFAQ
						==
						collectionItem_in.IDFAQ
					)
					
				) {
					return i;
				}
			}

			return -1;
		}