public bool Equals(Call other) { return(Other.Equals(other.Other)); }
public override bool Equals(object obj) { if (obj == null || GetType() != obj.GetType()) { return(false); } var alertToComplete = (Alert)obj; if (AlertMessage == null) { if (alertToComplete.AlertMessage != null) { return(false); } } else if (!AlertMessage.Equals(alertToComplete.AlertMessage)) { return(false); } if (!Risk.Equals(alertToComplete.Risk)) { return(false); } if (!Confidence.Equals(alertToComplete.Confidence)) { return(false); } if (Url == null) { if (alertToComplete.Url != null) { return(false); } } else if (!Url.Equals(alertToComplete.Url)) { return(false); } if (Other == null) { if (alertToComplete.Other != null) { return(false); } } else if (!Other.Equals(alertToComplete.Other)) { return(false); } if (Parameter == null) { if (alertToComplete.Parameter != null) { return(false); } } else if (!Parameter.Equals(alertToComplete.Parameter)) { return(false); } if (Attack == null) { if (alertToComplete.Attack != null) { return(false); } } else if (!Attack.Equals(alertToComplete.Attack)) { return(false); } if (Evidence == null) { if (alertToComplete.Evidence != null) { return(false); } } else if (!Evidence.Equals(alertToComplete.Evidence)) { return(false); } if (Description == null) { if (alertToComplete.Description != null) { return(false); } } else if (!Description.Equals(alertToComplete.Description)) { return(false); } if (Reference == null) { if (alertToComplete.Reference != null) { return(false); } } else if (!Reference.Equals(alertToComplete.Reference)) { return(false); } if (Solution == null) { if (alertToComplete.Solution != null) { return(false); } } else if (!Solution.Equals(alertToComplete.Solution)) { return(false); } if (CweId != alertToComplete.CweId) { return(false); } if (WascId != alertToComplete.WascId) { return(false); } return(true); }