Exemplo n.º 1
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (RatePerGB != null ? RatePerGB.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (CountBy != null ? CountBy.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (BillingPeriod != null ? BillingPeriod.GetHashCode() : 0);
         return(hashCode);
     }
 }
Exemplo n.º 2
0
 public int GetHashCode(CountBy <T> obj)
 {
     return(obj.GetHashCode());
 }