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