Exemplo n.º 1
0
        public int Search(XS_methodType collectionItem_in)
        {
            for (int i = 0; i < this.cols_.Count; i++)
            {
                if (
                    (
                                                #if NET_1_1
                        ((XS_methodType)this.cols_[i])
                                                #else
                        this.cols_[i]
                                                #endif
                        .Name.Equals(
                            collectionItem_in.Name,
                            StringComparison.CurrentCultureIgnoreCase
                            )
                    )

                    )
                {
                    return(i);
                }
            }

            return(-1);
        }
Exemplo n.º 2
0
 public void CopyFrom(XS_methodType methodType_in)
 {
     this.name_       = methodType_in.name_;
     this.outputtype_ = methodType_in.outputtype_;
     this.distribute_ = methodType_in.distribute_;
     this.issearch_   = methodType_in.issearch_;
     this.ipparamnum_ = methodType_in.ipparamnum_;
     if (methodType_in.parameters__ != null)
     {
         this.parameters__.CopyFrom(methodType_in.parameters__);
     }
 }
Exemplo n.º 3
0
        public void CopyFrom(XS_methodType methodType_in)
        {
            int _index = -1;

            name_       = methodType_in.name_;
            outputtype_ = methodType_in.outputtype_;
            distribute_ = methodType_in.distribute_;
            if (methodType_in.parameters__ != null)
            {
                parameters__.CopyFrom(methodType_in.parameters__);
            }
        }
Exemplo n.º 4
0
        public int Search(XS_methodType collectionItem_in)
        {
            for (int i = 0; i < cols_.Count; i++)
            {
                if (
                    (
                                                #if NET_1_1
                        ((XS_methodType)cols_[i])
                                                #else
                        cols_[i]
                                                #endif
                        .Name.ToLower()
                        ==
                        collectionItem_in.Name.ToLower()
                    )

                    )
                {
                    return(i);
                }
            }

            return(-1);
        }
Exemplo n.º 5
0
		public int Search(XS_methodType collectionItem_in) {
			for (int i = 0; i < this.cols_.Count; i++) {
				if (
					(
						#if NET_1_1
						((XS_methodType)this.cols_[i])
						#else
						this.cols_[i]
						#endif
							.Name.Equals(
								collectionItem_in.Name,
								StringComparison.CurrentCultureIgnoreCase
							)
					)
					
				) {
					return i;
				}
			}

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

			return -1;
		}
Exemplo n.º 7
0
		public void CopyFrom(XS_methodType methodType_in) {
			this.name_ = methodType_in.name_;
			this.outputtype_ = methodType_in.outputtype_;
			this.distribute_ = methodType_in.distribute_;
			this.issearch_ = methodType_in.issearch_;
			this.ipparamnum_ = methodType_in.ipparamnum_;
			if (methodType_in.parameters__ != null) this.parameters__.CopyFrom(methodType_in.parameters__);
		}
Exemplo n.º 8
0
		public void CopyFrom(XS_methodType methodType_in) {
			int _index = -1;

			name_ = methodType_in.name_;
			outputtype_ = methodType_in.outputtype_;
			distribute_ = methodType_in.distribute_;
			issearch_ = methodType_in.issearch_;
			ipparamnum_ = methodType_in.ipparamnum_;
			if (methodType_in.parameters__ != null) parameters__.CopyFrom(methodType_in.parameters__);
		}