2 instantiations of HubInvocationContext
Microsoft.AspNetCore.SignalR.Core (2)
Internal\DefaultHubDispatcher.cs (2)
704
var invocationContext = new
HubInvocationContext
(methodExecutor, hubCallerContext, serviceProvider, hub, arguments);
783
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)
38
private readonly Func<
HubInvocationContext
, ValueTask<object?>>? _invokeMiddleware;
704
var
invocationContext = new HubInvocationContext(methodExecutor, hubCallerContext, serviceProvider, hub, arguments);
786
private static async Task<bool> IsHubMethodAuthorizedSlow(IServiceProvider provider, ClaimsPrincipal principal, HubMethodDescriptor descriptor,
HubInvocationContext
resource)
Internal\HubFilterFactory.cs (2)
22
public async ValueTask<object?> InvokeMethodAsync(
HubInvocationContext
invocationContext, Func<
HubInvocationContext
, ValueTask<object?>> next)