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

            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (ConfigFilePath.Length != 0)
            {
                hash ^= ConfigFilePath.GetHashCode();
            }
            if (FlagFilePath.Length != 0)
            {
                hash ^= FlagFilePath.GetHashCode();
            }
            hash ^= readers_.GetHashCode();
            return(hash);
        }
예제 #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (ConfigFilePath.Length != 0)
            {
                hash ^= ConfigFilePath.GetHashCode();
            }
            if (FlagFilePath.Length != 0)
            {
                hash ^= FlagFilePath.GetHashCode();
            }
            if (Interval != 0)
            {
                hash ^= Interval.GetHashCode();
            }
            return(hash);
        }