1 instantiation of HubMethodDescriptor
Microsoft.AspNetCore.SignalR.Core (1)
Internal\DefaultHubDispatcher.cs (1)
801
_methods[methodName] = new
HubMethodDescriptor
(executor, serviceProviderIsService, authorizeAttributes);
9 references to HubMethodDescriptor
Microsoft.AspNetCore.SignalR.Core (9)
Internal\DefaultHubDispatcher.cs (9)
25
private readonly Dictionary<string,
HubMethodDescriptor
> _methods = new(StringComparer.OrdinalIgnoreCase);
285
if (!_methods.TryGetValue(hubMethodInvocationMessage.Target, out
var
descriptor))
318
private async Task<bool> Invoke(
HubMethodDescriptor
descriptor, HubConnectionContext connection,
512
IHubActivator<THub> hubActivator, THub hub, CancellationTokenSource? streamCts, HubMethodInvocationMessage hubMethodInvocationMessage,
HubMethodDescriptor
descriptor)
620
if (!_methods.TryGetValue(hubMethodName, out
var
methodDescriptor))
665
private static Task<bool> IsHubMethodAuthorized(IServiceProvider provider, HubConnectionContext hubConnectionContext,
HubMethodDescriptor
descriptor, object?[] hubMethodArguments, Hub hub)
690
private async Task<bool> ValidateInvocationMode(
HubMethodDescriptor
hubMethodDescriptor, bool isStreamResponse,
718
private void ReplaceArguments(
HubMethodDescriptor
descriptor, HubMethodInvocationMessage hubMethodInvocationMessage, bool isStreamCall,
815
if (!_methods.TryGetValue(methodName, out
var
descriptor))