4 references to CustomHubContext
Microsoft.AspNetCore.SignalR.Tests (4)
AddSignalRTests.cs (4)
34serviceCollection.AddSingleton(typeof(IHubContext<,>), typeof(CustomHubContext<,>)); 45Assert.IsType<CustomHubContext<CustomTHub, string>>(serviceProvider.GetRequiredService<IHubContext<CustomTHub, string>>()); 62serviceCollection.AddSingleton(typeof(IHubContext<,>), typeof(CustomHubContext<,>)); 70Assert.IsType<CustomHubContext<CustomTHub, string>>(serviceProvider.GetRequiredService<IHubContext<CustomTHub, string>>());