public static ProxyAddress Redact(ProxyAddress proxyAddr, out string raw, out string redacted) { raw = null; redacted = null; if (proxyAddr == null) { return(proxyAddr); } ProxyAddressPrefix prefix = proxyAddr.Prefix; PiiRedactor <string> redactorForProxyAddress = SuppressingPiiData.GetRedactorForProxyAddress(prefix); if (redactorForProxyAddress != null) { return(prefix.GetProxyAddress(redactorForProxyAddress(proxyAddr.AddressString, out raw, out redacted), proxyAddr.IsPrimaryAddress)); } return(proxyAddr); }