Example #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (MessageType != null ? MessageType.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (ServiceName != null ? ServiceName.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (ContentTypes != null ? ContentTypes.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Transports != null ? Transports.GetHashCode() : 0);
         return(hashCode);
     }
 }