Пример #1
0
        public override int GetHashCode()
        {
            var hashCode = 1584987736;

            hashCode = hashCode * -1521134295 + UserId.GetHashCode();
            hashCode = hashCode * -1521134295 + MemeId.GetHashCode();
            hashCode = hashCode * -1521134295 + Vote.GetHashCode();
            return(hashCode);
        }
Пример #2
0
 public override int GetHashCode()
 {
     return(Vote != null ? Vote.GetHashCode() : 0);
 }