public static ProxyAddressPrefix GetPrefix(string prefixString) { if (prefixString == null) { throw new ArgumentNullException("prefixString"); } ProxyAddressPrefix result; if (!ProxyAddressPrefix.standardPrefixes.TryGetValue(prefixString, out result)) { result = new CustomProxyAddressPrefix(prefixString); } return(result); }
public CustomProxyAddressTemplate(CustomProxyAddressPrefix prefix, string addressTemplate, bool isPrimaryAddress) : base(prefix, addressTemplate, isPrimaryAddress) { }