private bool BindingElementsPropertiesMatch(UdpTransportBindingElement transport, MessageEncodingBindingElement encoding) { if (!_udpTransport.IsMatch(transport)) { return(false); } if (!_textEncoding.IsMatch(encoding)) { return(false); } return(true); }