Exemple #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (timeframe_ != null)
            {
                hash ^= Timeframe.GetHashCode();
            }
            if (SloId.Length != 0)
            {
                hash ^= SloId.GetHashCode();
            }
            return(hash);
        }
Exemple #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (AggregateValueType.Length != 0)
            {
                hash ^= AggregateValueType.GetHashCode();
            }
            if (Resolution.Length != 0)
            {
                hash ^= Resolution.GetHashCode();
            }
            if (timeframe_ != null)
            {
                hash ^= Timeframe.GetHashCode();
            }
            if (Objectname.Length != 0)
            {
                hash ^= Objectname.GetHashCode();
            }
            if (Countername.Length != 0)
            {
                hash ^= Countername.GetHashCode();
            }
            if (Instancename.Length != 0)
            {
                hash ^= Instancename.GetHashCode();
            }
            if (Desc != false)
            {
                hash ^= Desc.GetHashCode();
            }
            if (Topn != 0)
            {
                hash ^= Topn.GetHashCode();
            }
            if (Zoom.Length != 0)
            {
                hash ^= Zoom.GetHashCode();
            }
            return(hash);
        }