public EndpointAddress ToEndpointAddress() { return(new EndpointAddress( _uri, _identity, new AddressHeaderCollection(_headers), this.GetReaderAtMetadata(), this.GetReaderAtExtensions(), _epr == null ? null : _epr.GetReaderAtPsp())); }