Example #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (LastModifiedDate != null ? LastModifiedDate.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ Rating.GetHashCode();
         hashCode = (hashCode * 397) ^ Variance.GetHashCode();
         return(hashCode);
     }
 }
 public override int GetHashCode()
 {
     unchecked
     {
         int hash = (int)2166136261;
         hash = hash * 16777619 ^ CostCentre?.GetHashCode() ?? 0;
         hash = hash * 16777619 ^ Account?.GetHashCode() ?? 0;
         hash = hash * 16777619 ^ AccountName?.GetHashCode() ?? 0;
         hash = hash * 16777619 ^ Budget.GetHashCode();
         hash = hash * 16777619 ^ Profile.GetHashCode();
         hash = hash * 16777619 ^ Actuals.GetHashCode();
         hash = hash * 16777619 ^ Variance.GetHashCode();
         hash = hash * 16777619 ^ Forecast.GetHashCode();
         hash = hash * 16777619 ^ OutturnVariance.GetHashCode();
         return(hash);
     }
 }