Exemple #1
0
        public override bool Equals(object o)
        {
            if (o == this)
            {
                return(true);
            }
            WebPartUserCapability capability = o as WebPartUserCapability;

            return((capability != null) && (capability.Name == this.Name));
        }
Exemple #2
0
        /// <devdoc>
        /// </devdoc>
        public override bool Equals(object o)
        {
            if (o == this)
            {
                return(true);
            }

            WebPartUserCapability other = o as WebPartUserCapability;

            return((other != null) && (other.Name == Name));
        }