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)
25private readonly Dictionary<string, HubMethodDescriptor> _methods = new(StringComparer.OrdinalIgnoreCase); 285if (!_methods.TryGetValue(hubMethodInvocationMessage.Target, out var descriptor)) 318private async Task<bool> Invoke(HubMethodDescriptor descriptor, HubConnectionContext connection, 512IHubActivator<THub> hubActivator, THub hub, CancellationTokenSource? streamCts, HubMethodInvocationMessage hubMethodInvocationMessage, HubMethodDescriptor descriptor) 620if (!_methods.TryGetValue(hubMethodName, out var methodDescriptor)) 665private static Task<bool> IsHubMethodAuthorized(IServiceProvider provider, HubConnectionContext hubConnectionContext, HubMethodDescriptor descriptor, object?[] hubMethodArguments, Hub hub) 690private async Task<bool> ValidateInvocationMode(HubMethodDescriptor hubMethodDescriptor, bool isStreamResponse, 718private void ReplaceArguments(HubMethodDescriptor descriptor, HubMethodInvocationMessage hubMethodInvocationMessage, bool isStreamCall, 815if (!_methods.TryGetValue(methodName, out var descriptor))