/// <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; }