public bool Equals(IUserMentionEntity other) { if (!Id.HasValue || !other.Id.HasValue) { return(false); } if (Id.Value != other.Id.Value) { return(false); } if (Indices == null || other.Indices == null) { return(Indices == other.Indices); } return(Indices.ContainsSameObjectsAs(other.Indices, true)); }
public bool Equals(IUserMentionEntity other) { if (!Id.HasValue || !other.Id.HasValue) { return false; } if (Id.Value != other.Id.Value) { return false; } if (Indices == null || other.Indices == null) { return Indices == other.Indices; } return Indices.ContainsSameObjectsAs(other.Indices, true); }
public bool Equals(IUserMentionEntity other) { return(Id != null && Id == other.Id); }
public bool Equals(IUserMentionEntity other) { return Id != null && Id == other.Id; }