public ServiceHubContextImpl(string hubName, IHubContext <Hub> hubContext, IServiceHubLifetimeManager lifetimeManager, IServiceProvider serviceProvider, NegotiateProcessor negotiateProcessor, IServiceEndpointManager endpointManager) { _hubName = hubName; _hubContext = hubContext; _lifetimeManager = lifetimeManager; UserGroups = new UserGroupsManager(lifetimeManager); ServiceProvider = serviceProvider; _negotiateProcessor = negotiateProcessor; _endpointManager = endpointManager; }
public ServiceContext(ServiceHubContextFactory serviceHubContextFactory, NegotiateProcessor negotiateProcessor, IServiceProvider serviceProvider) { _serviceHubContextFactory = serviceHubContextFactory; _negotiateProcessor = negotiateProcessor; _serviceProvider = serviceProvider; }