public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = Durable.GetHashCode();
         hashCode = (hashCode * 397) ^ Exclusive.GetHashCode();
         hashCode = (hashCode * 397) ^ AutoDelete.GetHashCode();
         return(hashCode);
     }
 }
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (int)ExchangeType;
         hashCode = (hashCode * 397) ^ (CustomExchangeType != null ? CustomExchangeType.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ Durable.GetHashCode();
         hashCode = (hashCode * 397) ^ AutoDelete.GetHashCode();
         return(hashCode);
     }
 }