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

            if (RunFunction.Length != 0)
            {
                hash ^= RunFunction.GetHashCode();
            }
            if (enabled_ != null)
            {
                hash ^= Enabled.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
コード例 #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (RunFunction.Length != 0)
            {
                hash ^= RunFunction.GetHashCode();
            }
            if (Label.Length != 0)
            {
                hash ^= Label.GetHashCode();
            }
            if (LogoUrl.Length != 0)
            {
                hash ^= LogoUrl.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
コード例 #3
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Label.Length != 0)
            {
                hash ^= Label.GetHashCode();
            }
            if (actionTypeCase_ == ActionTypeOneofCase.OpenLink)
            {
                hash ^= OpenLink.GetHashCode();
            }
            if (actionTypeCase_ == ActionTypeOneofCase.RunFunction)
            {
                hash ^= RunFunction.GetHashCode();
            }
            hash ^= (int)actionTypeCase_;
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }