コード例 #1
0
        /**
         * Return Hash
         */
        public override int GetHashCode()
        {
            int result = 0;

            result = GenerateHash(result) ^ base.GetHashCode();

            result = GenerateHash(result) ^ _realWorldTime.GetHashCode();
            result = GenerateHash(result) ^ _simulationTime.GetHashCode();
            result = GenerateHash(result) ^ _requestID.GetHashCode();

            return(result);
        }
コード例 #2
0
        /**
         * Return Hash
         */
        public override int GetHashCode()
        {
            int result = 0;

            result = GenerateHash(result) ^ base.GetHashCode();

            result = GenerateHash(result) ^ _realWorldTime.GetHashCode();
            result = GenerateHash(result) ^ _reason.GetHashCode();
            result = GenerateHash(result) ^ _frozenBehavior.GetHashCode();
            result = GenerateHash(result) ^ _padding1.GetHashCode();
            result = GenerateHash(result) ^ _requestID.GetHashCode();

            return(result);
        }
コード例 #3
0
        /**
         * Return Hash
         */
        public override int GetHashCode()
        {
            int result = 0;

            result = GenerateHash(result) ^ base.GetHashCode();

            result = GenerateHash(result) ^ _realWorldTime.GetHashCode();
            result = GenerateHash(result) ^ _simulationTime.GetHashCode();
            result = GenerateHash(result) ^ _requiredReliabilityService.GetHashCode();
            result = GenerateHash(result) ^ _pad1.GetHashCode();
            result = GenerateHash(result) ^ _pad2.GetHashCode();
            result = GenerateHash(result) ^ _requestID.GetHashCode();

            return(result);
        }