Exemplo n.º 1
0
 public bool Equals(MessageMapping other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(Equals(other.Consumer, Consumer) && Equals(other.Message, Message) && other.Direct.Equals(Direct));
 }
Exemplo n.º 2
0
 public bool Equals(MessageMapping other)
 {
     if (ReferenceEquals(null, other)) return false;
     if (ReferenceEquals(this, other)) return true;
     return Equals(other.Consumer, Consumer) && Equals(other.Message, Message) && other.Direct.Equals(Direct);
 }
Exemplo n.º 3
0
 public bool DoesPassFilter(MessageMapping mapping)
 {
     return(_filters.All(filter => filter(mapping)));
 }