1 implementation of IHubActivator
Microsoft.AspNetCore.SignalR.Core (1)
Internal\DefaultHubActivator.cs (1)
10
internal sealed class DefaultHubActivator<[DynamicallyAccessedMembers(Hub.DynamicallyAccessedMembers)] THub> :
IHubActivator
<THub> where THub : Hub
12 references to IHubActivator
Microsoft.AspNetCore.SignalR.Core (12)
Internal\DefaultHubDispatcher.cs (11)
87
var
hubActivator = scope.ServiceProvider.GetRequiredService<
IHubActivator
<THub>>();
124
var
hubActivator = scope.ServiceProvider.GetRequiredService<
IHubActivator
<THub>>();
171
var
hubActivator = scope.ServiceProvider.GetRequiredService<
IHubActivator
<THub>>();
371
IHubActivator
<THub>? hubActivator = null;
375
hubActivator = scope.ServiceProvider.GetRequiredService<
IHubActivator
<THub>>();
437
IHubActivator
<THub> hubActivator,
567
private static ValueTask CleanupInvocation(HubConnectionContext connection, HubMethodInvocationMessage hubMessage,
IHubActivator
<THub>? hubActivator,
587
IHubActivator
<THub> hubActivator, THub hub, CancellationTokenSource? streamCts, HubMethodInvocationMessage hubMethodInvocationMessage, HubMethodDescriptor descriptor)
SignalRDependencyInjectionExtensions.cs (1)
32
services.TryAddScoped(typeof(
IHubActivator
<>), typeof(DefaultHubActivator<>));