337 references to HubConnectionHandler
Microsoft.AspNetCore.SignalR.Core (6)
HubConnectionHandler.cs (3)
24
private readonly ILogger<
HubConnectionHandler
<THub>> _logger;
39
/// Initializes a new instance of the <see cref="
HubConnectionHandler
{THub}"/> class.
63
_logger = loggerFactory.CreateLogger<
HubConnectionHandler
<THub>>();
SignalRConnectionBuilderExtensions.cs (1)
30
return connectionBuilder.UseConnectionHandler<
HubConnectionHandler
<THub>>();
SignalRDependencyInjectionExtensions.cs (2)
29
services.TryAddSingleton(typeof(
HubConnectionHandler
<>), typeof(
HubConnectionHandler
<>));
Microsoft.AspNetCore.SignalR.Tests (331)
HubConnectionHandlerTests.Activity.cs (16)
48
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
123
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
192
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<StreamingHub>>();
251
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<StreamingHub>>();
324
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<OnConnectedThrowsHub>>();
371
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<OnDisconnectedThrowsHub>>();
423
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<StreamingHub>>();
474
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
HubConnectionHandlerTests.ClientResult.cs (26)
19
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
52
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
84
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<OnConnectedClientResultHub>>();
111
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<OnDisconnectedClientResultHub>>();
136
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
168
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<HubT>>();
202
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<HubT>>();
237
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
291
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
360
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<HubT>>();
405
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
450
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
487
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
HubConnectionHandlerTests.cs (252)
45
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<DisposeTrackingHub>>();
73
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<HubWithAsyncDisposable>>();
99
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<ConnectionLifetimeHub>>();
123
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<ErrorInAbortedTokenHub>>();
149
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<AbortHub>>();
173
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<SimpleHub>>();
201
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<SimpleHub>>();
704
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<Hub>>();
745
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<OnConnectedThrowsHub>>();
777
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<OnDisconnectedThrowsHub>>();
800
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
826
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
852
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
922
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
991
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
1016
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
1045
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
1070
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
1096
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<InheritedHub>>();
1131
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
1159
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
1184
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<InheritedHub>>();
1209
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<InheritedHub>>();
1234
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
1261
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<InvalidHub>>();
1278
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
1303
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
1336
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
1361
var exception = Assert.Throws<NotSupportedException>(() => serviceProvider.GetService<
HubConnectionHandler
<GenericMethodHub>>());
1411
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
1884
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
2010
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<StreamingHub>>();
2045
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<StreamingHub>>();
2094
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<StreamingHub>>();
2129
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
2205
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
2241
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
2280
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
2343
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
2387
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
2417
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
2455
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
2493
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
2517
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
2550
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
2614
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
2645
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
2669
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
2698
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
2744
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
2806
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
2842
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
2875
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<ConnectionLifetimeHub>>();
2905
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
3019
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<LongRunningHub>>();
3078
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<LongRunningHub>>();
3105
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
3148
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<OnConnectedThrowsHub>>();
3183
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<StreamingHub>>();
3218
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<StreamingHub>>();
3253
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<StreamingHub>>();
3288
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<StreamingHub>>();
3330
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<LongRunningHub>>();
3385
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<LongRunningHub>>();
3441
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<LongRunningHub>>();
3512
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<LongRunningHub>>();
3560
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<SimpleHub>>();
3597
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
3621
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
3644
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
3672
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
3736
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
3772
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<LongRunningHub>>();
3802
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
3821
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<ConnectionLifetimeHub>>();
3844
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<ConnectionLifetimeHub>>();
3868
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
3919
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
3946
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
3971
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
3995
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
4015
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
4034
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
4056
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
4094
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
4131
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
4168
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
4214
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<LongRunningHub>>();
4255
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<LongRunningHub>>();
4300
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<LongRunningHub>>();
4331
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<LongRunningHub>>();
4358
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<LongRunningHub>>();
4384
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
4409
HubConnectionHandler
<StreamingHub> connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<StreamingHub>>();
4477
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<StreamingHub>>();
4511
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<CallerServiceHub>>();
4538
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
4563
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
4605
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
4628
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
4656
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<ServicesHub>>();
4673
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<ServicesHub>>();
4692
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<ServicesHub>>();
4711
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<ServicesHub>>();
4736
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<ServicesHub>>();
4758
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<ServicesHub>>();
4779
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<ServicesHub>>();
4800
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<ServicesHub>>();
4825
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<ServicesHub>>();
4848
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<ServicesHub>>();
4870
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<ServicesHub>>();
4890
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<ServicesHub>>();
4910
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<ServicesHub>>();
4933
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<KeyedServicesHub>>();
4956
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<KeyedServicesHub>>();
4980
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<KeyedServicesHub>>();
5003
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<KeyedServicesHub>>();
5026
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<KeyedServicesHub>>();
5046
var ex = Assert.Throws<InvalidOperationException>(() => serviceProvider.GetService<
HubConnectionHandler
<KeyedServicesHub>>());
5062
var ex = Assert.Throws<InvalidOperationException>(() => serviceProvider.GetService<
HubConnectionHandler
<BadServicesHub>>());
5074
() => serviceProvider.GetService<
HubConnectionHandler
<TooManyParamsHub>>());
5087
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<OnConnectedSendToClientHub>>();
5117
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<ConnectionLifetimeHub>>();
5141
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<ConnectionLifetimeHub>>();
5172
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
5200
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
5245
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<ConnectionLifetimeHub>>();
5308
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<ConnectionLifetimeHub>>();
HubConnectionHandlerTestUtils\Utils.cs (1)
18
var connectionHandlerType = typeof(
HubConnectionHandler
<>);
HubFilterTests.cs (36)
114
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
153
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<DynamicTestHub>>();
188
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
238
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
289
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
337
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
397
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
459
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
539
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
588
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
631
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<OnConnectedThrowsHub>>();
662
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
692
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
729
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
770
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
805
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
846
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();
884
var
connectionHandler = serviceProvider.GetService<
HubConnectionHandler
<MethodHub>>();