Exemplo n.º 1
0
        internal override bool IsMatch(BindingElement b)
        {
            if (b == null)
            {
                return(false);
            }
            CompositeDuplexBindingElement element = b as CompositeDuplexBindingElement;

            if (element == null)
            {
                return(false);
            }
            return(this.clientBaseAddress == element.clientBaseAddress);
        }
        internal override bool IsMatch(BindingElement b)
        {
            if (b == null)
            {
                return(false);
            }

            CompositeDuplexBindingElement duplex = b as CompositeDuplexBindingElement;

            if (duplex == null)
            {
                return(false);
            }

            return(_clientBaseAddress == duplex._clientBaseAddress);
        }
Exemplo n.º 3
0
 private CompositeDuplexBindingElement(CompositeDuplexBindingElement elementToBeCloned) : base(elementToBeCloned)
 {
     this.clientBaseAddress = elementToBeCloned.ClientBaseAddress;
 }