Exemple #1
0
        public void CopyFrom(XS_argumentType argumentType_in)
        {
            int _index = -1;

            name_  = argumentType_in.name_;
            value_ = argumentType_in.value_;
        }
Exemple #2
0
        public int Search(XS_argumentType collectionItem_in)
        {
            for (int i = 0; i < cols_.Count; i++)
            {
                if (
                    (
                                                #if NET_1_1
                        ((XS_argumentType)cols_[i])
                                                #else
                        cols_[i]
                                                #endif
                        .Name
                        ==
                        collectionItem_in.Name
                    )

                    )
                {
                    return(i);
                }
            }

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

			return -1;
		}