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

GetMethods() public method

public GetMethods ( HubDescriptor hub ) : IEnumerable
hub HubDescriptor
return IEnumerable
        public IEnumerable<MethodDescriptor> GetMethods(HubDescriptor hub)
        {
            return FetchMethodsFor(hub)
                .SelectMany(kv => kv.Value)
                .ToList();
        }