2 instantiations of HubInvocationContext
Microsoft.AspNetCore.SignalR.Core (2)
Internal\DefaultHubDispatcher.cs (2)
610var invocationContext = new HubInvocationContext(methodExecutor, connection.HubCallerContext, serviceProvider, hub, arguments); 673return IsHubMethodAuthorizedSlow(provider, hubConnectionContext.User, descriptor.Policies, new HubInvocationContext(hubConnectionContext.HubCallerContext, provider, hub, descriptor.MethodExecutor.MethodInfo, hubMethodArguments));
8 references to HubInvocationContext
Microsoft.AspNetCore.SignalR.Core (8)
HubInvocationContext.cs (1)
17/// Instantiates a new instance of the <see cref="HubInvocationContext"/> class.
IHubFilter.cs (2)
17ValueTask<object?> InvokeMethodAsync(HubInvocationContext invocationContext, Func<HubInvocationContext, ValueTask<object?>> next) => next(invocationContext);
Internal\DefaultHubDispatcher.cs (3)
31private readonly Func<HubInvocationContext, ValueTask<object?>>? _invokeMiddleware; 610var invocationContext = new HubInvocationContext(methodExecutor, connection.HubCallerContext, serviceProvider, hub, arguments); 676private static async Task<bool> IsHubMethodAuthorizedSlow(IServiceProvider provider, ClaimsPrincipal principal, IList<IAuthorizeData> policies, HubInvocationContext resource)
Internal\HubFilterFactory.cs (2)
22public async ValueTask<object?> InvokeMethodAsync(HubInvocationContext invocationContext, Func<HubInvocationContext, ValueTask<object?>> next)