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

            if (Use.Length != 0)
            {
                hash ^= Use.GetHashCode();
            }
            if (Short.Length != 0)
            {
                hash ^= Short.GetHashCode();
            }
            if (Long.Length != 0)
            {
                hash ^= Long.GetHashCode();
            }
            if (Example.Length != 0)
            {
                hash ^= Example.GetHashCode();
            }
            if (Deprecated.Length != 0)
            {
                hash ^= Deprecated.GetHashCode();
            }
            if (Hidden != false)
            {
                hash ^= Hidden.GetHashCode();
            }
            return(hash);
        }
예제 #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Id.Length != 0)
            {
                hash ^= Id.GetHashCode();
            }
            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (Deprecated != false)
            {
                hash ^= Deprecated.GetHashCode();
            }
            hash ^= updatableTo_.GetHashCode();
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
예제 #3
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (Home.Length != 0)
            {
                hash ^= Home.GetHashCode();
            }
            hash ^= sources_.GetHashCode();
            if (Version.Length != 0)
            {
                hash ^= Version.GetHashCode();
            }
            if (Description.Length != 0)
            {
                hash ^= Description.GetHashCode();
            }
            hash ^= keywords_.GetHashCode();
            hash ^= maintainers_.GetHashCode();
            if (Engine.Length != 0)
            {
                hash ^= Engine.GetHashCode();
            }
            if (Icon.Length != 0)
            {
                hash ^= Icon.GetHashCode();
            }
            if (ApiVersion.Length != 0)
            {
                hash ^= ApiVersion.GetHashCode();
            }
            if (Condition.Length != 0)
            {
                hash ^= Condition.GetHashCode();
            }
            if (Tags.Length != 0)
            {
                hash ^= Tags.GetHashCode();
            }
            if (AppVersion.Length != 0)
            {
                hash ^= AppVersion.GetHashCode();
            }
            if (Deprecated != false)
            {
                hash ^= Deprecated.GetHashCode();
            }
            if (TillerVersion.Length != 0)
            {
                hash ^= TillerVersion.GetHashCode();
            }
            hash ^= Annotations.GetHashCode();
            if (KubeVersion.Length != 0)
            {
                hash ^= KubeVersion.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }