1 instantiation of HubMethodDescriptor
Microsoft.AspNetCore.SignalR.Core (1)
Internal\DefaultHubDispatcher.cs (1)
897
_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);
330
if (!_methods.TryGetValue(hubMethodInvocationMessage.Target, out
var
descriptor))
363
private async Task<bool> Invoke(
HubMethodDescriptor
descriptor, HubConnectionContext connection,
587
IHubActivator<THub> hubActivator, THub hub, CancellationTokenSource? streamCts, HubMethodInvocationMessage hubMethodInvocationMessage,
HubMethodDescriptor
descriptor)
702
if (!_methods.TryGetValue(hubMethodName, out
var
methodDescriptor))
757
HubMethodDescriptor
descriptor,
788
private async Task<bool> ValidateInvocationMode(
HubMethodDescriptor
hubMethodDescriptor, bool isStreamResponse,
816
private void ReplaceArguments(
HubMethodDescriptor
descriptor, HubMethodInvocationMessage hubMethodInvocationMessage, bool isStreamCall,
911
if (!_methods.TryGetValue(methodName, out
var
descriptor))