Microsoft.AspNetCore.SignalR.Hubs.ReflectedMethodDescriptorProvider.FetchMethodsFor C# (CSharp) Method

FetchMethodsFor() private method

Retrieves an existing dictionary of all available methods for a given hub from cache. If cache entry does not exist - it is created automatically by BuildMethodCacheFor.
private FetchMethodsFor ( HubDescriptor hub ) : IEnumerable>.IDictionary
hub HubDescriptor
return IEnumerable>.IDictionary
        private IDictionary<string, IEnumerable<MethodDescriptor>> FetchMethodsFor(HubDescriptor hub)
        {
            return _methods.GetOrAdd(
                hub.Name,
                key => BuildMethodCacheFor(hub));
        }