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