public override int GetHashCode() { unchecked { var hashCode = AssigneeId.GetHashCode(); hashCode = (hashCode * 397) ^ ActivityId.GetHashCode(); hashCode = (hashCode * 397) ^ LoggedTimeId.GetHashCode(); return(hashCode); } }
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); } }
public bool Equals(AssigneeLogsFilteredDto other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(AssigneeId.Equals(other.AssigneeId) && ActivityId.Equals(other.ActivityId) && LoggedTimeId.Equals(other.LoggedTimeId)); }
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)); }
public override int GetHashCode() { unchecked { var hashCode = (ProjectName != null ? ProjectName.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (AssigneeName != null ? AssigneeName.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (ActivityName != null ? ActivityName.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (int)ActivityStatus; hashCode = (hashCode * 397) ^ (ActivityType != null ? ActivityType.GetHashCode() : 0); hashCode = (hashCode * 397) ^ EstimatedTime.GetHashCode(); hashCode = (hashCode * 397) ^ LoggedTime.GetHashCode(); hashCode = (hashCode * 397) ^ ProjectId.GetHashCode(); hashCode = (hashCode * 397) ^ ActivityId.GetHashCode(); hashCode = (hashCode * 397) ^ AssigneeId.GetHashCode(); return(hashCode); } }
public bool Equals(ProjectLoggsDto other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(ProjectName == other.ProjectName && AssigneeName == other.AssigneeName && ActivityName == other.ActivityName && ActivityStatus == other.ActivityStatus && ActivityType == other.ActivityType && EstimatedTime.Equals(other.EstimatedTime) && LoggedTime.Equals(other.LoggedTime) && ProjectId.Equals(other.ProjectId) && ActivityId.Equals(other.ActivityId) && AssigneeId.Equals(other.AssigneeId)); }