Beispiel #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         return((IsUserTyping.GetHashCode() * 397) ^ ParticipationId);
     }
 }
Beispiel #2
0
 public bool Equals(UserTyping other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(IsUserTyping.Equals(other.IsUserTyping) && ParticipationId == other.ParticipationId);
 }