public override int GetHashCode()
 {
     unchecked
     {
         return(((SubscriberEndpoint != null ? SubscriberEndpoint.GetHashCode() : 0) * 397) ^ (MessageType != null ? MessageType.GetHashCode() : 0));
     }
 }
 public override int GetHashCode()
 {
     return(SubscriberEndpoint.GetHashCode() + MessageType.GetHashCode());
 }