/// <summary> /// <see cref="System.Object.Equals(object)"/> /// </summary> public bool Equals(EnrichContactItem obj) { if (obj == null) { return(false); } return(EnrchTextDataId.Equals(obj.EnrchTextDataId) && ContactId.Equals(obj.ContactId) && JsonData.Equals(obj.JsonData)); }
/// <summary> /// <see cref="System.Object.Equals(object)"/> /// </summary> public override bool Equals(object obj) { if (obj == null) { return(false); } EnrichContactItem objToCompare = obj as EnrichContactItem; if (objToCompare == null) { return(false); } return(EnrchTextDataId.Equals(objToCompare.EnrchTextDataId) && ContactId.Equals(objToCompare.ContactId) && JsonData.Equals(objToCompare.JsonData)); }