Ejemplo 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_;
        }
Ejemplo 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);
        }
Ejemplo 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_;
		}
Ejemplo 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;
		}