27 references to HubT
Microsoft.AspNetCore.SignalR.Tests (27)
HubConnectionHandlerTests.ClientResult.cs (7)
168var connectionHandler = serviceProvider.GetService<HubConnectionHandler<HubT>>(); 178var context = serviceProvider.GetRequiredService<IHubContext<HubT, ITest>>(); 202var connectionHandler = serviceProvider.GetService<HubConnectionHandler<HubT>>(); 210nameof(HubT.GetClientResultTwoWays), 360var connectionHandler = serviceProvider.GetService<HubConnectionHandler<HubT>>(); 370var context = serviceProvider.GetRequiredService<IHubContext<HubT, ITest>>(); 392var completion = await client.InvokeAsync(nameof(HubT.Echo), "test").DefaultTimeout();
HubConnectionHandlerTests.cs (20)
257var connectionHandler = HubConnectionHandlerTestUtils.GetHubConnectionHandler(typeof(HubT), loggerFactory: LoggerFactory); 281var connectionHandler = HubConnectionHandlerTestUtils.GetHubConnectionHandler(typeof(HubT), loggerFactory: LoggerFactory); 304var connectionHandler = HubConnectionHandlerTestUtils.GetHubConnectionHandler(typeof(HubT), loggerFactory: LoggerFactory, 338var connectionHandler = HubConnectionHandlerTestUtils.GetHubConnectionHandler(typeof(HubT), loggerFactory: LoggerFactory); 381var connectionHandler = HubConnectionHandlerTestUtils.GetHubConnectionHandler(typeof(HubT), loggerFactory: LoggerFactory); 422var connectionHandler = HubConnectionHandlerTestUtils.GetHubConnectionHandler(typeof(HubT), loggerFactory: LoggerFactory); 460var connectionHandler = HubConnectionHandlerTestUtils.GetHubConnectionHandler(typeof(HubT), loggerFactory: LoggerFactory); 484var connectionHandler = HubConnectionHandlerTestUtils.GetHubConnectionHandler(typeof(HubT), LoggerFactory, 485services => services.AddSignalR().AddHubOptions<HubT>(o => o.MaximumReceiveMessageSize = maximumMessageSize)); 513var connectionHandler = HubConnectionHandlerTestUtils.GetHubConnectionHandler(typeof(HubT), LoggerFactory, 514services => services.AddSignalR().AddHubOptions<HubT>(o => o.MaximumReceiveMessageSize = maximumMessageSize)); 547var connectionHandler = HubConnectionHandlerTestUtils.GetHubConnectionHandler(typeof(HubT), LoggerFactory, 548services => services.AddSignalR().AddHubOptions<HubT>(o => o.MaximumReceiveMessageSize = maximumMessageSize)); 598var connectionHandler = HubConnectionHandlerTestUtils.GetHubConnectionHandler(typeof(HubT), LoggerFactory, 599services => services.AddSignalR().AddHubOptions<HubT>(o => o.MaximumReceiveMessageSize = maximumMessageSize)); 642var connectionHandler = HubConnectionHandlerTestUtils.GetHubConnectionHandler(typeof(HubT), loggerFactory: LoggerFactory); 663var connectionHandler = HubConnectionHandlerTestUtils.GetHubConnectionHandler(typeof(HubT), loggerFactory: LoggerFactory); 1973var connectionHandler = HubConnectionHandlerTestUtils.GetHubConnectionHandler(typeof(HubT), loggerFactory: LoggerFactory); 3898var connectionHandler = HubConnectionHandlerTestUtils.GetHubConnectionHandler(typeof(HubT), 5394yield return new[] { typeof(HubT) };