public override bool Equals(object o) { if (o == this) { return(true); } WebPartUserCapability capability = o as WebPartUserCapability; return((capability != null) && (capability.Name == this.Name)); }
/// <devdoc> /// </devdoc> public override bool Equals(object o) { if (o == this) { return(true); } WebPartUserCapability other = o as WebPartUserCapability; return((other != null) && (other.Name == Name)); }