public override void CopyFrom(ServiceModelExtensionElement from)
        {
            base.CopyFrom(from);
            PeerTransportElement element = (PeerTransportElement)from;

            this.ListenIPAddress        = element.ListenIPAddress;
            this.Port                   = element.Port;
            this.MaxBufferPoolSize      = element.MaxBufferPoolSize;
            this.MaxReceivedMessageSize = element.MaxReceivedMessageSize;
            this.Security.CopyFrom(element.Security);
        }
        public override void CopyFrom(ServiceModelExtensionElement from)
        {
            base.CopyFrom(from);

            PeerTransportElement source = (PeerTransportElement)from;

#pragma warning suppress 56506 // [....], base.CopyFrom() validates the argument
            this.ListenIPAddress        = source.ListenIPAddress;
            this.Port                   = source.Port;
            this.MaxBufferPoolSize      = source.MaxBufferPoolSize;
            this.MaxReceivedMessageSize = source.MaxReceivedMessageSize;
            this.Security.CopyFrom(source.Security);
        }