Example #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));
 }
 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);
 }
Example #3
0
 public bool DoesPassFilter(MessageMapping mapping)
 {
     return(_filters.All(filter => filter(mapping)));
 }