Exemplo n.º 1
0
 public T Build()
 {
     try
     {
         return(_proxyBuilder.Build(
                    new XmlRpcProxyInterceptor <T>(
                        new XmlRpcClient(_httpClientFactory.CreateClient())
         {
             Url = _url,
             XmlEncoding = _encoding,
             HttpContentType = _contentType
         },
                        new ApiAnalyzer <T>().Analyze())
                    ));
     }
     finally
     {
         SetDefaultSettings();
     }
 }
Exemplo n.º 2
0
        public Type BuildProxyType(Type type)
        {
            var proxyType = _proxyBuilder.Build(type);

            return(proxyType);
        }