示例#1
0
 /// <summary>
 /// Sets the messaging providers.
 /// </summary>
 /// <param name="clientToServerProvider">New client to server messaging
 /// provider</param>
 /// <param name="serverToClientProvider">New server to client messaging
 /// provider</param>
 public static void SetMessagingProviders(IClientToServer clientToServerProvider, IServerToClient serverToClientProvider)
 {
     _ClientToServerProvider = clientToServerProvider;
      _ServerToClientProvider = serverToClientProvider;
 }
示例#2
0
 /// <summary>
 /// Sets the messaging providers.
 /// </summary>
 /// <param name="clientToServerProvider">New client to server messaging
 /// provider</param>
 /// <param name="serverToClientProvider">New server to client messaging
 /// provider</param>
 public static void SetMessagingProviders(IClientToServer clientToServerProvider, IServerToClient serverToClientProvider)
 {
     _ClientToServerProvider = clientToServerProvider;
     _ServerToClientProvider = serverToClientProvider;
 }