예제 #1
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);
     }
 }
예제 #2
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);
     }
 }