public void SetExtensionReader(XmlDictionaryReader reader)
        {
            EndpointIdentity identity;
            int num;

            this.hasExtension    = true;
            this.extensionBuffer = EndpointAddress.ReadExtensions(reader, null, null, out identity, out num);
            if (this.extensionBuffer != null)
            {
                this.extensionBuffer.Close();
            }
            if (identity != null)
            {
                this.identity = identity;
            }
        }
Example #2
0
        public void SetExtensionReader(XmlDictionaryReader reader)
        {
            _hasExtension = true;
            EndpointIdentity identity;
            int tmp;

            _extensionBuffer = EndpointAddress.ReadExtensions(reader, null, null, out identity, out tmp);
            if (_extensionBuffer != null)
            {
                _extensionBuffer.Close();
            }
            if (identity != null)
            {
                _identity = identity;
            }
        }