Example #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         int hashCode = Top.GetHashCode();
         hashCode = (hashCode * 397) ^ BelowPhreaticLevel.GetHashCode();
         hashCode = (hashCode * 397) ^ DiameterD70.GetHashCode();
         hashCode = (hashCode * 397) ^ Permeability.GetHashCode();
         return(hashCode);
     }
 }
Example #2
0
 public override int GetHashCode()
 {
     unchecked
     {
         int hashCode = AbovePhreaticLevel.GetHashCode();
         hashCode = (hashCode * 397) ^ BelowPhreaticLevel.GetHashCode();
         hashCode = (hashCode * 397) ^ Cohesion.GetHashCode();
         hashCode = (hashCode * 397) ^ FrictionAngle.GetHashCode();
         hashCode = (hashCode * 397) ^ ShearStrengthRatio.GetHashCode();
         hashCode = (hashCode * 397) ^ StrengthIncreaseExponent.GetHashCode();
         hashCode = (hashCode * 397) ^ Pop.GetHashCode();
         return(hashCode);
     }
 }