예제 #1
0
        public override int GetHashCode()
        {
            unchecked
            {
                int hashCode = VolumeName != null?VolumeName.ToUpper().GetHashCode() : 0;

                hashCode = (hashCode * 397) ^ (FilterQuery != null ? FilterQuery.GetHashCode() : 0);
                hashCode = (hashCode * 397) ^ (SortOrder != null ? SortOrder.ToUpper().GetHashCode() : 0);
                hashCode = (hashCode * 397) ^ (Search != null ? Search.GetHashCode() : 0);

                return(hashCode);
            }
        }