public bool Equals(Threat thr) { if (thr is null) { return(false); } return(Id.Equals(thr.Id) && Name.Equals(thr.Name) && Description.Equals(thr.Description) && ThreatSource.Equals(thr.ThreatSource) && InteractionObject.Equals(thr.InteractionObject) && ConfidentialityBreach.Equals(thr.ConfidentialityBreach) && IntegrityBreach.Equals(thr.IntegrityBreach) && AccessBreach.Equals(thr.AccessBreach)); }