Beispiel #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (RegistrationData != null ? RegistrationData.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Bd != null ? Bd.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (SessionId != null ? SessionId.GetHashCode() : 0);
         return(hashCode);
     }
 }
Beispiel #2
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (Bd != null ? Bd.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Sign != null ? Sign.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Challenge != null ? Challenge.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (SessionId != null ? SessionId.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (AppId != null ? AppId.GetHashCode() : 0);
         return(hashCode);
     }
 }