示例#1
0
 public override int GetHashCode()
 {
     return
         (AbsoluteMinimumPartSize.GetHashCode() ^
          AccountID.GetHashCode() ^
          APIURL.GetHashCode() ^
          ApplicationKey.GetHashCode() ^
          AuthorizationToken.GetHashCode() ^
          DownloadURL.GetHashCode() ^
          RecommendedPartSize.GetHashCode() ^
          SessionExpirationDate.GetHashCode());
 }
 /// <summary> 
 /// Computes and retrieves a hash code for an object. 
 /// </summary> 
 /// <remarks> 
 /// This method implements the <see cref="Object">Object</see> method. 
 /// </remarks> 
 /// <returns>A hash code for an object.</returns>
 public override int GetHashCode()
 {
     return(Id.GetHashCode() + Culture.GetHashCode() + ApplicationKey.GetHashCode());
 }