/// <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));
        }
Beispiel #3
0
 /// <summary>
 /// Adds <paramref name="item"/> to <see cref="Data"/> list.
 /// </summary>
 /// <param name="item"><see cref="EnrichContactItem"/> instance.</param>
 public void Add(EnrichContactItem item)
 {
     Data.Add(item);
 }