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(); } }
public Type BuildProxyType(Type type) { var proxyType = _proxyBuilder.Build(type); return(proxyType); }