Ejemplo n.º 1
0
        public override int GetHashCode()
        {
            var hashCode = -1079360070;

            hashCode = hashCode * -1521134295 + IsSimple.GetHashCode();
            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Id);

            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Quote);

            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Forecast);

            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Price);

            hashCode = hashCode * -1521134295 + Recommend.GetHashCode();
            hashCode = hashCode * -1521134295 + Access.GetHashCode();
            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Image);

            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Content);

            return(hashCode);
        }
Ejemplo n.º 2
0
        public override int GetHashCode()
        {
            var hashCode = -2127770830;

            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(BookId);

            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Name);

            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Author);

            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(State);

            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(AppointedTime);

            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Description);

            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(ClientName);

            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(BookShelfId);

            hashCode = hashCode * -1521134295 + Recommend.GetHashCode();
            return(hashCode);
        }