public override int GetHashCode()
        {
            var hashCode = 1961644288;

            hashCode = hashCode * -1521134295 + Amount.GetHashCode();
            hashCode = hashCode * -1521134295 + CreatedDate.GetHashCode();
            return(hashCode);
        }
예제 #2
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (int)TxType;
         hashCode = (hashCode * 397) ^ Amount.GetHashCode();
         hashCode = (hashCode * 397) ^ Date.GetHashCode();
         return(hashCode);
     }
 }