public static TInterface Create <TInterface>(HttpServiceEndPoint endpoint) where TInterface : class { var proxy = HttpProxy.CreateProxy <TInterface>(endpoint); return(proxy); }
public static TInterface CreateProxy <TInterface>(HttpServiceEndPoint endpoint) where TInterface : class { return(ProxyFactory.CreateProxy <TInterface>(typeof(HttpChannel), typeof(HttpServiceEndPoint), endpoint)); }