Beispiel #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (FirstName != null ? FirstName.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (LastName != null ? LastName.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (ThumbnailImageUrl != null ? ThumbnailImageUrl.GetHashCode() : 0);
         return(hashCode);
     }
 }
Beispiel #2
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (Name != null ? Name.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (UrlName != null ? UrlName.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (ThumbnailImageUrl != null ? ThumbnailImageUrl.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ SchoolYearId;
         hashCode = (hashCode * 397) ^ CategoryId;
         return(hashCode);
     }
 }
Beispiel #3
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (DownloadImageUrl != null ? DownloadImageUrl.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (ThumbnailImageUrl != null ? ThumbnailImageUrl.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (WebImageUrl != null ? WebImageUrl.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ PhotoEventId;
         hashCode = (hashCode * 397) ^ Height;
         hashCode = (hashCode * 397) ^ Width;
         hashCode = (hashCode * 397) ^ (AltText != null ? AltText.GetHashCode() : 0);
         return(hashCode);
     }
 }