1 instantiation of HubMethodDescriptor
Microsoft.AspNetCore.SignalR.Core (1)
Internal\DefaultHubDispatcher.cs (1)
941_methods[methodName] = new HubMethodDescriptor(executor, serviceProviderIsService, authorizationMetadata) { Name = methodName };
12 references to HubMethodDescriptor
Microsoft.AspNetCore.SignalR.Core (12)
Internal\DefaultHubDispatcher.cs (12)
32private readonly Dictionary<string, HubMethodDescriptor> _methods = new(StringComparer.OrdinalIgnoreCase); 337if (!_methods.TryGetValue(hubMethodInvocationMessage.Target, out var descriptor)) 370private async Task<bool> Invoke(HubMethodDescriptor descriptor, HubConnectionContext connection, 442HubMethodDescriptor descriptor, 598HubMethodDescriptor descriptor, long? streamOwner) 714if (!_methods.TryGetValue(hubMethodName, out var methodDescriptor)) 769HubMethodDescriptor descriptor, 786private static async Task<bool> IsHubMethodAuthorizedSlow(IServiceProvider provider, ClaimsPrincipal principal, HubMethodDescriptor descriptor, HubInvocationContext resource) 817private async Task<bool> ValidateInvocationMode(HubMethodDescriptor hubMethodDescriptor, bool isStreamResponse, 845private void ReplaceArguments(HubMethodDescriptor descriptor, HubMethodInvocationMessage hubMethodInvocationMessage, bool isStreamCall, 955if (!_methods.TryGetValue(methodName, out var descriptor)) 974private static Activity? StartActivity(string operationName, ActivityKind kind, IEnumerable<ActivityLink>? links, IServiceProvider serviceProvider, string methodName, IDictionary<string, string>? headers, ILogger logger, HubConnectionContext? connection = null, HubMethodDescriptor? descriptor = null)