Exemplo n.º 1
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = Durable.GetHashCode();
         hashCode = (hashCode * 397) ^ Exclusive.GetHashCode();
         hashCode = (hashCode * 397) ^ AutoDelete.GetHashCode();
         return(hashCode);
     }
 }
Exemplo n.º 2
0
 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);
     }
 }