Inheritance: System.Attribute
コード例 #1
0
ファイル: PropertyTabAttribute.cs プロジェクト: ForNeVeR/pnet
 public bool Equals(PropertyTabAttribute other)
 {
     if (other != null)
     {
         if (other.tabClasses.Length != tabClasses.Length)
         {
             return(false);
         }
         int index;
         for (index = 0; index < tabClasses.Length; ++index)
         {
             if (other.tabClasses[index] != tabClasses[index])
             {
                 return(false);
             }
             if (other.tabClassNames[index] != tabClassNames[index])
             {
                 return(false);
             }
             if (other.tabScopes[index] != tabScopes[index])
             {
                 return(false);
             }
         }
         return(true);
     }
     else
     {
         return(false);
     }
 }
コード例 #2
0
 public bool Equals(PropertyTabAttribute other)
 {
     if (other != this)
     {
         if ((other.TabClasses.Length != this.TabClasses.Length) || (other.TabScopes.Length != this.TabScopes.Length))
         {
             return(false);
         }
         for (int i = 0; i < this.TabClasses.Length; i++)
         {
             if ((this.TabClasses[i] != other.TabClasses[i]) || (this.TabScopes[i] != other.TabScopes[i]))
             {
                 return(false);
             }
         }
     }
     return(true);
 }
コード例 #3
0
        /// <internalonly/>
        public bool Equals(PropertyTabAttribute other)
        {
            if (other == (object)this)
            {
                return(true);
            }
            if (other.TabClasses.Length != TabClasses.Length ||
                other.TabScopes.Length != TabScopes.Length)
            {
                return(false);
            }

            for (int i = 0; i < TabClasses.Length; i++)
            {
                if (TabClasses[i] != other.TabClasses[i] ||
                    TabScopes[i] != other.TabScopes[i])
                {
                    return(false);
                }
            }
            return(true);
        }
コード例 #4
0
        /// <internalonly/>
        public bool Equals(PropertyTabAttribute other) {
            if (other == (object)this) {
                return true;
            }
            if (other.TabClasses.Length != TabClasses.Length ||
                other.TabScopes.Length != TabScopes.Length) {
                return false;
            }

            for (int i = 0; i < TabClasses.Length; i++) {
                if (TabClasses[i] != other.TabClasses[i] ||
                    TabScopes[i] != other.TabScopes[i]) {
                    return false;
                }
            }
            return true;
        }
        public bool Equals (PropertyTabAttribute other) {

          return default(bool);
        }
コード例 #6
0
 public bool Equals(PropertyTabAttribute other)
 {
     throw new NotImplementedException();
 }
コード例 #7
0
ファイル: PropertyTabAttribute.cs プロジェクト: nlhepler/mono
		public bool Equals (PropertyTabAttribute other)
		{
			if (other != this) {
				if (other.TabClasses.Length != tabs.Length)
					return false;

				for (int i=0; i < tabs.Length; i++) {
					if (tabs[i] != other.TabClasses[i])
						return false;
				}
			}
			return true;
		}
コード例 #8
0
	public bool Equals(PropertyTabAttribute other)
			{
				if(other != null)
				{
					if(other.tabClasses.Length != tabClasses.Length)
					{
						return false;
					}
					int index;
					for(index = 0; index < tabClasses.Length; ++index)
					{
						if(other.tabClasses[index] != tabClasses[index])
						{
							return false;
						}
						if(other.tabClassNames[index] != tabClassNames[index])
						{
							return false;
						}
						if(other.tabScopes[index] != tabScopes[index])
						{
							return false;
						}
					}
					return true;
				}
				else
				{
					return false;
				}
			}
コード例 #9
0
 public bool Equals(PropertyTabAttribute other)
 {
     return(default(bool));
 }