コード例 #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (configTypeCase_ == ConfigTypeOneofCase.AdminConfig)
            {
                hash ^= AdminConfig.GetHashCode();
            }
            if (configTypeCase_ == ConfigTypeOneofCase.StaticConfig)
            {
                hash ^= StaticConfig.GetHashCode();
            }
            if (configTypeCase_ == ConfigTypeOneofCase.TapdsConfig)
            {
                hash ^= TapdsConfig.GetHashCode();
            }
            hash ^= (int)configTypeCase_;
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }