Example #1
0
 internal ClientInterfaceProxy <TIface> GetProxyDecorator <TIface>(VRpcClient rpcClient) where TIface : class
 {
     return(GetProxy <ClientInterfaceProxy <TIface>, TIface, VRpcClient>(InitializeAsyncPropxy, rpcClient));
 }
Example #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;
 }
Example #3
0
 //[DebuggerStepThrough]
 private static void InitializeAsyncPropxy <T>(string controllerName, ClientInterfaceProxy <T> p, VRpcClient rpcClient) where T : class
 {
     p.InitializeClone(rpcClient, controllerName);
 }