Exemple #1
0
        public void CopyFrom(XS_linkType linkType_in)
        {
            int _index = -1;

            idlink_      = linkType_in.idlink_;
            name_        = linkType_in.name_;
            description_ = linkType_in.description_;
            url_         = linkType_in.url_;
        }
Exemple #2
0
        public int Search(XS_linkType collectionItem_in)
        {
            for (int i = 0; i < cols_.Count; i++)
            {
                if (
                    (
                                                #if NET_1_1
                        ((XS_linkType)cols_[i])
                                                #else
                        cols_[i]
                                                #endif
                        .IDLink
                        ==
                        collectionItem_in.IDLink
                    )

                    )
                {
                    return(i);
                }
            }

            return(-1);
        }
		public int Search(XS_linkType collectionItem_in) {
			for (int i = 0; i < cols_.Count; i++) {
				if (
					(
						#if NET_1_1
						((XS_linkType)cols_[i])
						#else
						cols_[i]
						#endif
							.IDLink
						==
						collectionItem_in.IDLink
					)
					
				) {
					return i;
				}
			}

			return -1;
		}
Exemple #4
0
		public void CopyFrom(XS_linkType linkType_in) {
			int _index = -1;

			idlink_ = linkType_in.idlink_;
			name_ = linkType_in.name_;
			description_ = linkType_in.description_;
			url_ = linkType_in.url_;
		}