Ejemplo n.º 1
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = AssigneeId.GetHashCode();
         hashCode = (hashCode * 397) ^ ProjectId.GetHashCode();
         hashCode = (hashCode * 397) ^ ProjectGroupId.GetHashCode();
         hashCode = (hashCode * 397) ^ LoggedTimeId.GetHashCode();
         return(hashCode);
     }
 }
Ejemplo n.º 2
0
 public bool Equals(ProjectLogsDto other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(AssigneeId.Equals(other.AssigneeId) && ProjectId.Equals(other.ProjectId) &&
            ProjectGroupId.Equals(other.ProjectGroupId) && LoggedTimeId.Equals(other.LoggedTimeId));
 }