public static IHubConnectionManager GetHubConnectionManager(HubConnection hubConnection) { IHubConnectionManager connectionManager = new HubConnectionManager(hubConnection); return connectionManager; }