public override bool TryGetIdentity(EndpointAddress reference, out EndpointIdentity identity) { if (reference == null) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("reference"); } identity = reference.Identity; if (identity == null) { identity = new PeerEndpointIdentity(); } return(true); }
public override bool TryGetIdentity(EndpointAddress reference, out EndpointIdentity identity) { if (reference == null) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("reference"); } identity = reference.Identity; if (identity == null) { identity = new PeerEndpointIdentity(); } return true; }