상속: System.Attribute
예제 #1
0
        public override bool Equals(object obj)
        {
            if (obj == this)
            {
                return(true);
            }
            ImmutableObjectAttribute attribute = obj as ImmutableObjectAttribute;

            return((attribute != null) && (attribute.Immutable == this.immutable));
        }
예제 #2
0
        /// <internalonly/>
        /// <devdoc>
        /// </devdoc>
        public override bool Equals(object obj)
        {
            if (obj == this)
            {
                return(true);
            }

            ImmutableObjectAttribute other = obj as ImmutableObjectAttribute;

            return(other != null && other.Immutable == this.immutable);
        }
예제 #3
0
        // Determine if two object are equal.
        public override bool Equals(Object obj)
        {
            ImmutableObjectAttribute other =
                (obj as ImmutableObjectAttribute);

            if (other != null)
            {
                return(other.immutable == immutable);
            }
            else
            {
                return(false);
            }
        }