Beispiel #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         return((Url != null ? Url.GetHashCode() : 0) ^ (HtmlUrl != null ? HtmlUrl.GetHashCode() : 0) ^ (CommentsUrl != null ? CommentsUrl.GetHashCode() : 0) ^ (Sha != null ? Sha.GetHashCode() : 0) ^ (Commit != null ? Commit.GetHashCode() : 0) ^ (Author != null ? Author.GetHashCode() : 0) ^ (Committer != null ? Committer.GetHashCode() : 0) ^ (Parents != null ? Parents.GetHashCode() : 0) ^ (Stats != null ? Stats.GetHashCode() : 0) ^ (Files != null ? Files.GetHashCode() : 0));
     }
 }
Beispiel #2
0
 public override int GetHashCode()
 {
     unchecked
     {
         return((Url != null ? Url.GetHashCode() : 0) ^ (Id != null ? Id.GetHashCode() : 0) ^ (Description != null ? Description.GetHashCode() : 0) ^ (Public != null ? Public.GetHashCode() : 0) ^ (Owner != null ? Owner.GetHashCode() : 0) ^ (Files != null ? Files.GetHashCode() : 0) ^ (Comments != null ? Comments.GetHashCode() : 0) ^ (CommentsUrl != null ? CommentsUrl.GetHashCode() : 0) ^ (HtmlUrl != null ? HtmlUrl.GetHashCode() : 0) ^ (GitPullUrl != null ? GitPullUrl.GetHashCode() : 0) ^ (GitPushUrl != null ? GitPushUrl.GetHashCode() : 0) ^ (CreatedAt != null ? CreatedAt.GetHashCode() : 0) ^ (UpdatedAt != null ? UpdatedAt.GetHashCode() : 0) ^ (Forks != null ? Forks.GetHashCode() : 0) ^ (History != null ? History.GetHashCode() : 0));
     }
 }