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