2 instantiations of HubLifetimeContext
Microsoft.AspNetCore.SignalR.Core (2)
Internal\DefaultHubDispatcher.cs (2)
107
var context = new
HubLifetimeContext
(hubCallerContext, scope.ServiceProvider, hub);
143
var context = new
HubLifetimeContext
(hubCallerContext, scope.ServiceProvider, hub);
13 references to HubLifetimeContext
Microsoft.AspNetCore.SignalR.Core (13)
HubLifetimeContext.cs (1)
12
/// Instantiates a new instance of the <see cref="
HubLifetimeContext
"/> class.
IHubFilter.cs (4)
25
Task OnConnectedAsync(
HubLifetimeContext
context, Func<
HubLifetimeContext
, Task> next) => next(context);
34
Task OnDisconnectedAsync(
HubLifetimeContext
context, Exception? exception, Func<
HubLifetimeContext
, Exception?, Task> next) => next(context, exception);
Internal\DefaultHubDispatcher.cs (4)
39
private readonly Func<
HubLifetimeContext
, Task>? _onConnectedMiddleware;
40
private readonly Func<
HubLifetimeContext
, Exception?, Task>? _onDisconnectedMiddleware;
107
var
context = new HubLifetimeContext(hubCallerContext, scope.ServiceProvider, hub);
143
var
context = new HubLifetimeContext(hubCallerContext, scope.ServiceProvider, hub);
Internal\HubFilterFactory.cs (4)
39
public async Task OnConnectedAsync(
HubLifetimeContext
context, Func<
HubLifetimeContext
, Task> next)
56
public async Task OnDisconnectedAsync(
HubLifetimeContext
context, Exception? exception, Func<
HubLifetimeContext
, Exception?, Task> next)