示例#1
0
 public override int GetHashCode()
 {
     unchecked
     {
         // ReSharper disable NonReadonlyMemberInGetHashCode
         int hashCode = TitleId.GetHashCode();
         hashCode = (hashCode * 397) ^ UserId.GetHashCode();
         hashCode = (hashCode * 397) ^ SaveId.GetHashCode();
         hashCode = (hashCode * 397) ^ (int)Type;
         hashCode = (hashCode * 397) ^ Rank.GetHashCode();
         hashCode = (hashCode * 397) ^ Index.GetHashCode();
         return(hashCode);
         // ReSharper restore NonReadonlyMemberInGetHashCode
     }
 }
示例#2
0
 public override int GetHashCode()
 {
     return(SaveId.GetHashCode());
 }