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

            this.wsdlBinding         = element.wsdlBinding;
            this.bindingAsserions    = element.bindingAsserions;
            this.operationAssertions = element.operationAssertions;
            this.messageAssertions   = element.messageAssertions;
        }
        public override void CopyFrom(ServiceModelExtensionElement from)
        {
            base.CopyFrom(from);

            UnrecognizedPolicyAssertionElement source = (UnrecognizedPolicyAssertionElement)from;

#pragma warning suppress 56506 //markg; base.CopyFrom() checks for 'from' being null
            this.wsdlBinding         = source.wsdlBinding;
            this.bindingAsserions    = source.bindingAsserions;
            this.operationAssertions = source.operationAssertions;
            this.messageAssertions   = source.messageAssertions;
        }