Example #1
0
 public static T Create <T, TProxy>()
     where TProxy : RpcProxy
 {
     return((T)RpcProxyGenerator.CreateProxyInstance(typeof(TProxy), typeof(T)));
 }
Example #2
0
 public static Type GetPorxyType <T, TProxy>()
     where TProxy : RpcProxy
 {
     return(RpcProxyGenerator.GetProxyType(typeof(TProxy), typeof(T)));
 }
Example #3
0
 MethodInfo IRpcProxy.GetMethodInfo(int index)
 {
     return(RpcProxyGenerator.GetMethodInfo(index));
 }