Exemple #1
0
        public override int GetHashCode()
        {
            int hashCode = submitter.GetHashCode() +
                           room.GetHashCode() +
                           favorites.GetHashCode();

            foreach (Blurb blurb in blurbs)
            {
                hashCode += blurb.blurb.GetHashCode() + blurb.misattributedTo.GetHashCode();
            }

            return(hashCode);
        }