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

                    if (RequestsPerUnit != 0)
                    {
                        hash ^= RequestsPerUnit.GetHashCode();
                    }
                    if (Unit != global::Envoy.Service.Ratelimit.V2.RateLimitResponse.Types.RateLimit.Types.Unit.Unknown)
                    {
                        hash ^= Unit.GetHashCode();
                    }
                    if (_unknownFields != null)
                    {
                        hash ^= _unknownFields.GetHashCode();
                    }
                    return(hash);
                }
コード例 #2
0
                public override int GetHashCode()
                {
                    int hash = 1;

                    if (RequestsPerUnit != 0)
                    {
                        hash ^= RequestsPerUnit.GetHashCode();
                    }
                    if (Unit != 0)
                    {
                        hash ^= Unit.GetHashCode();
                    }
                    if (_unknownFields != null)
                    {
                        hash ^= _unknownFields.GetHashCode();
                    }
                    return(hash);
                }