2 instantiations of HubInvocationContext
Microsoft.AspNetCore.SignalR.Core (2)
Internal\DefaultHubDispatcher.cs (2)
692
var invocationContext = new
HubInvocationContext
(methodExecutor, hubCallerContext, serviceProvider, hub, arguments);
771
new
HubInvocationContext
(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)
17
ValueTask<object?> InvokeMethodAsync(
HubInvocationContext
invocationContext, Func<
HubInvocationContext
, ValueTask<object?>> next) => next(invocationContext);
Internal\DefaultHubDispatcher.cs (3)
31
private readonly Func<
HubInvocationContext
, ValueTask<object?>>? _invokeMiddleware;
692
var
invocationContext = new HubInvocationContext(methodExecutor, hubCallerContext, serviceProvider, hub, arguments);
774
private static async Task<bool> IsHubMethodAuthorizedSlow(IServiceProvider provider, ClaimsPrincipal principal, IList<IAuthorizeData> policies,
HubInvocationContext
resource)
Internal\HubFilterFactory.cs (2)
22
public async ValueTask<object?> InvokeMethodAsync(
HubInvocationContext
invocationContext, Func<
HubInvocationContext
, ValueTask<object?>> next)