public override bool Equals(object obj)
        {
            if (obj == this)
            {
                return(true);
            }
            HtmlControlPersistableAttribute attribute = obj as HtmlControlPersistableAttribute;

            return((attribute != null) && (attribute.HtmlControlPersistable == this.persistable));
        }
Ejemplo n.º 2
0
        public override bool Equals(object obj)
        {
            if (obj == this)
            {
                return(true);
            }

            HtmlControlPersistableAttribute other = obj as HtmlControlPersistableAttribute;

            return((other != null) && other.HtmlControlPersistable == persistable);
        }