11 references to KeyedServicesHub
Microsoft.AspNetCore.SignalR.Tests (11)
HubConnectionHandlerTests.cs (11)
4951
var connectionHandler = serviceProvider.GetService<HubConnectionHandler<
KeyedServicesHub
>>();
4956
var res = await client.InvokeAsync(nameof(
KeyedServicesHub
.KeyedService)).DefaultTimeout();
4974
var connectionHandler = serviceProvider.GetService<HubConnectionHandler<
KeyedServicesHub
>>();
4979
var res = await client.InvokeAsync(nameof(
KeyedServicesHub
.KeyedServiceWithParam), 91).DefaultTimeout();
4998
var connectionHandler = serviceProvider.GetService<HubConnectionHandler<
KeyedServicesHub
>>();
5003
var res = await client.InvokeAsync(nameof(
KeyedServicesHub
.KeyedServiceNonKeyedService)).DefaultTimeout();
5021
var connectionHandler = serviceProvider.GetService<HubConnectionHandler<
KeyedServicesHub
>>();
5026
var res = await client.InvokeAsync(nameof(
KeyedServicesHub
.MultipleKeyedServices)).DefaultTimeout();
5044
var connectionHandler = serviceProvider.GetService<HubConnectionHandler<
KeyedServicesHub
>>();
5049
var res = await client.InvokeAsync(nameof(
KeyedServicesHub
.MultipleSameKeyedServices)).DefaultTimeout();
5064
var ex = Assert.Throws<InvalidOperationException>(() => serviceProvider.GetService<HubConnectionHandler<
KeyedServicesHub
>>());