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
10 references to IHubActivator
Microsoft.AspNetCore.SignalR.Core (10)
Internal\DefaultHubDispatcher.cs (9)
87
var
hubActivator = scope.ServiceProvider.GetRequiredService<
IHubActivator
<THub>>();
123
var
hubActivator = scope.ServiceProvider.GetRequiredService<
IHubActivator
<THub>>();
326
IHubActivator
<THub>? hubActivator = null;
330
hubActivator = scope.ServiceProvider.GetRequiredService<
IHubActivator
<THub>>();
390
IHubActivator
<THub> hubActivator,
492
private static ValueTask CleanupInvocation(HubConnectionContext connection, HubMethodInvocationMessage hubMessage,
IHubActivator
<THub>? hubActivator,
512
IHubActivator
<THub> hubActivator, THub hub, CancellationTokenSource? streamCts, HubMethodInvocationMessage hubMethodInvocationMessage, HubMethodDescriptor descriptor)
SignalRDependencyInjectionExtensions.cs (1)
32
services.TryAddScoped(typeof(
IHubActivator
<>), typeof(DefaultHubActivator<>));