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)
32
private readonly Dictionary<string,
HubMethodDescriptor
> _methods = new(StringComparer.OrdinalIgnoreCase);
337
if (!_methods.TryGetValue(hubMethodInvocationMessage.Target, out
var
descriptor))
370
private async Task<bool> Invoke(
HubMethodDescriptor
descriptor, HubConnectionContext connection,
442
HubMethodDescriptor
descriptor,
598
HubMethodDescriptor
descriptor, long? streamOwner)
714
if (!_methods.TryGetValue(hubMethodName, out
var
methodDescriptor))
769
HubMethodDescriptor
descriptor,
786
private static async Task<bool> IsHubMethodAuthorizedSlow(IServiceProvider provider, ClaimsPrincipal principal,
HubMethodDescriptor
descriptor, HubInvocationContext resource)
817
private async Task<bool> ValidateInvocationMode(
HubMethodDescriptor
hubMethodDescriptor, bool isStreamResponse,
845
private void ReplaceArguments(
HubMethodDescriptor
descriptor, HubMethodInvocationMessage hubMethodInvocationMessage, bool isStreamCall,
955
if (!_methods.TryGetValue(methodName, out
var
descriptor))
974
private 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)