public override bool Equals(object obj) { if (obj == this) { return(true); } HtmlControlPersistableAttribute attribute = obj as HtmlControlPersistableAttribute; return((attribute != null) && (attribute.HtmlControlPersistable == this.persistable)); }
public override bool Equals(object obj) { if (obj == this) { return(true); } HtmlControlPersistableAttribute other = obj as HtmlControlPersistableAttribute; return((other != null) && other.HtmlControlPersistable == persistable); }