1 instantiation of HubMethodDescriptor
Microsoft.AspNetCore.SignalR.Core (1)
Internal\DefaultHubDispatcher.cs (1)
933
_methods[methodName] = new
HubMethodDescriptor
(executor, serviceProviderIsService, authorizationMetadata);
10 references to HubMethodDescriptor
Microsoft.AspNetCore.SignalR.Core (10)
Internal\DefaultHubDispatcher.cs (10)
25
private readonly Dictionary<string,
HubMethodDescriptor
> _methods = new(StringComparer.OrdinalIgnoreCase);
330
if (!_methods.TryGetValue(hubMethodInvocationMessage.Target, out
var
descriptor))
363
private async Task<bool> Invoke(
HubMethodDescriptor
descriptor, HubConnectionContext connection,
590
HubMethodDescriptor
descriptor, long? streamOwner)
706
if (!_methods.TryGetValue(hubMethodName, out
var
methodDescriptor))
761
HubMethodDescriptor
descriptor,
778
private static async Task<bool> IsHubMethodAuthorizedSlow(IServiceProvider provider, ClaimsPrincipal principal,
HubMethodDescriptor
descriptor, HubInvocationContext resource)
809
private async Task<bool> ValidateInvocationMode(
HubMethodDescriptor
hubMethodDescriptor, bool isStreamResponse,
837
private void ReplaceArguments(
HubMethodDescriptor
descriptor, HubMethodInvocationMessage hubMethodInvocationMessage, bool isStreamCall,
947
if (!_methods.TryGetValue(methodName, out
var
descriptor))