예제 #1
0
        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);
        }
예제 #2
0
 public CustomProxyAddressTemplate(CustomProxyAddressPrefix prefix, string addressTemplate, bool isPrimaryAddress) : base(prefix, addressTemplate, isPrimaryAddress)
 {
 }