Пример #1
0
 public static T Create <T, TProxy>() where TProxy : ProxyAsync
 {
     return((T)AsyncDispatchProxyGenerator.CreateProxyInstance(typeof(TProxy), typeof(T)));
 }
Пример #2
0
 public Task InvokeAsyncHandle(object[] args)
 {
     return(AsyncDispatchProxyGenerator.InvokeAsync(args));
 }
Пример #3
0
 public Task <T> InvokeAsyncHandleT <T>(object[] args)
 {
     return(AsyncDispatchProxyGenerator.InvokeAsync <T>(args));
 }
Пример #4
0
 public object InvokeHandle(object[] args)
 {
     return(AsyncDispatchProxyGenerator.Invoke(args));
 }