Exemple #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         return(((PageViews != null ? PageViews.GetHashCode() : 0) * 397) ^ (Users != null ? Users.GetHashCode() : 0));
     }
 }
Exemple #2
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = Date.GetHashCode();
         hashCode = (hashCode * 397) ^ (PageViews != null ? PageViews.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ Rank;
         hashCode = (hashCode * 397) ^ (Reach != null ? Reach.GetHashCode() : 0);
         return(hashCode);
     }
 }
Exemple #3
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (TimeRange != null ? TimeRange.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Rank != null ? Rank.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Reach != null ? Reach.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (PageViews != null ? PageViews.GetHashCode() : 0);
         return(hashCode);
     }
 }