示例#1
0
 internal ClientInterfaceProxy <TIface> GetProxyDecorator <TIface>(VRpcClient rpcClient) where TIface : class
 {
     return(GetProxy <ClientInterfaceProxy <TIface>, TIface, VRpcClient>(InitializeAsyncPropxy, rpcClient));
 }
示例#2
0
 // ctor.
 /// <summary>
 /// Принимает открытое соединение Web-Socket.
 /// </summary>
 internal ClientSideConnection(VRpcClient client, ClientWebSocket ws, ServiceProvider serviceProvider, InvokeActionsDictionary controllers)
     : base(ws.ManagedWebSocket, isServer: false, serviceProvider, controllers)
 {
     Client = client;
 }
示例#3
0
 //[DebuggerStepThrough]
 private static void InitializeAsyncPropxy <T>(string controllerName, ClientInterfaceProxy <T> p, VRpcClient rpcClient) where T : class
 {
     p.InitializeClone(rpcClient, controllerName);
 }