public override bool Equals(object obj) { var dsaObj = obj as DisplayStringAttribute; if (dsaObj == null) { return(false); } return(DisplayString.Equals(dsaObj.DisplayString)); }
public bool Equals(DestinyItemTooltipNotification input) { if (input == null) { return(false); } return (( DisplayString == input.DisplayString || (DisplayString != null && DisplayString.Equals(input.DisplayString)) ) && ( DisplayStyle == input.DisplayStyle || (DisplayStyle != null && DisplayStyle.Equals(input.DisplayStyle)) )); }