示例#1
0
        public static TInterface Create <TInterface>(HttpServiceEndPoint endpoint) where TInterface : class
        {
            var proxy = HttpProxy.CreateProxy <TInterface>(endpoint);

            return(proxy);
        }
示例#2
0
 public static TInterface CreateProxy <TInterface>(HttpServiceEndPoint endpoint) where TInterface : class
 {
     return(ProxyFactory.CreateProxy <TInterface>(typeof(HttpChannel), typeof(HttpServiceEndPoint), endpoint));
 }