Beispiel #1
0
        public override int GetHashCode()
        {
            int code = APIConstants.HASH_CODE_SEED;

            code = APIConstants.HASH_CODE_FACTOR * code + ((GroupId == null) ? 0 : GroupId.GetHashCode());
            code = APIConstants.HASH_CODE_FACTOR * code + ((ArtifactId == null) ? 0 : ArtifactId.GetHashCode());
            code = APIConstants.HASH_CODE_FACTOR * code + ((Version == null) ? 0 : Version.GetHashCode());

            return(code);
        }