11 references to KeyedServicesHub
Microsoft.AspNetCore.SignalR.Tests (11)
HubConnectionHandlerTests.cs (11)
4933
var connectionHandler = serviceProvider.GetService<HubConnectionHandler<
KeyedServicesHub
>>();
4938
var res = await client.InvokeAsync(nameof(
KeyedServicesHub
.KeyedService)).DefaultTimeout();
4956
var connectionHandler = serviceProvider.GetService<HubConnectionHandler<
KeyedServicesHub
>>();
4961
var res = await client.InvokeAsync(nameof(
KeyedServicesHub
.KeyedServiceWithParam), 91).DefaultTimeout();
4980
var connectionHandler = serviceProvider.GetService<HubConnectionHandler<
KeyedServicesHub
>>();
4985
var res = await client.InvokeAsync(nameof(
KeyedServicesHub
.KeyedServiceNonKeyedService)).DefaultTimeout();
5003
var connectionHandler = serviceProvider.GetService<HubConnectionHandler<
KeyedServicesHub
>>();
5008
var res = await client.InvokeAsync(nameof(
KeyedServicesHub
.MultipleKeyedServices)).DefaultTimeout();
5026
var connectionHandler = serviceProvider.GetService<HubConnectionHandler<
KeyedServicesHub
>>();
5031
var res = await client.InvokeAsync(nameof(
KeyedServicesHub
.MultipleSameKeyedServices)).DefaultTimeout();
5046
var ex = Assert.Throws<InvalidOperationException>(() => serviceProvider.GetService<HubConnectionHandler<
KeyedServicesHub
>>());