예제 #1
0
 public bool Equals(BackblazeB2UploadMultipartFileResult other)
 {
     return(ContentLength == other.ContentLength &&
            BucketID.Equals(other.BucketID, StringComparison.Ordinal) &&
            Enumerable.SequenceEqual(FileHashes, other.FileHashes) &&
            FileID.Equals(other.FileID, StringComparison.Ordinal));
 }
예제 #2
0
        public bool Equals(BackblazeB2UploadFileResult other)
        {
            if (EqualsPreamble(other) == false)
            {
                return(false);
            }

            return
                (AccountID.Equals(other.AccountID, StringComparison.Ordinal) &&
                 BucketID.Equals(other.BucketID, StringComparison.Ordinal) &&
                 ContentLength == other.ContentLength &&
                 ContentSHA1.Equals(other.ContentSHA1, StringComparison.Ordinal) &&
                 FileID.Equals(other.FileID, StringComparison.Ordinal) &&
                 FileName.Equals(other.FileName, StringComparison.Ordinal) &&
                 UploadTimeStamp == other.UploadTimeStamp);
        }