Beispiel #1
0
        public override void CopyFrom(ServiceModelExtensionElement from)
        {
            base.CopyFrom(from);
            NamedPipeTransportElement element = (NamedPipeTransportElement)from;

            this.ConnectionPoolSettings.CopyFrom(element.ConnectionPoolSettings);
        }
        public override void CopyFrom(ServiceModelExtensionElement from)
        {
            base.CopyFrom(from);
            NamedPipeTransportElement source = (NamedPipeTransportElement)from;

#pragma warning suppress 56506 // Microsoft, base.CopyFrom() validates the argument
            this.ConnectionPoolSettings.CopyFrom(source.ConnectionPoolSettings);
            this.PipeSettings.CopyFrom(source.PipeSettings);
        }