public bool ContentEquals(MergeBlacklistEntry other) { return (other.ProjectId.Equals(ProjectId) && other.UserId.Equals(UserId) && other.WordIds.Count == WordIds.Count && other.WordIds.All(WordIds.Contains)); }
public MergeBlacklistEntry Clone() { var clone = new MergeBlacklistEntry { Id = (string)Id.Clone(), ProjectId = (string)ProjectId.Clone(), UserId = (string)UserId.Clone(), WordIds = new List <string>() }; foreach (var id in WordIds) { clone.WordIds.Add((string)id.Clone()); } return(clone); }