Exemplo n.º 1
0
        public override int GetHashCode()
        {
            int hash = (int)time;

            hash += hash * 10 + code == null ? 0 : code.GetHashCode();
            hash += hash * 10 + chartType.GetHashCode();
            hash += hash * 10 + klinePeriod.GetHashCode();
            hash += hash * 10 + showKLineIndex;
            return(hash);
        }
Exemplo n.º 2
0
 public override int GetHashCode()
 {
     return(code.GetHashCode() * 10 + period.GetHashCode());
 }