Exemplo n.º 1
0
 public override int GetHashCode()
 {
     unchecked
     {
         return((MessageTypeId.GetHashCode() * 397) ^ RoutingKey.GetHashCode());
     }
 }
Exemplo n.º 2
0
 public override int GetHashCode()
 {
     unchecked
     {
         return((MessageTypeId.GetHashCode() * 397) ^ (BindingKeys?.GetHashCode() ?? 0));
     }
 }
Exemplo n.º 3
0
        public override int GetHashCode()
        {
            unchecked
            {
                if (_computedHashCode == 0)
                {
                    _computedHashCode = (MessageTypeId.GetHashCode() * 397) ^ BindingKey.GetHashCode();
                }

                return(_computedHashCode);
            }
        }