Пример #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);
        }
Пример #2
0
 public override int GetHashCode()
 {
     return(code.GetHashCode() * 10 + period.GetHashCode());
 }