Microsoft.AspNetCore.SignalR.Hubs.HubManagerExtensions.GetHubs C# (CSharp) Method

GetHubs() public static method

public static GetHubs ( this hubManager ) : IEnumerable
hubManager this
return IEnumerable
        public static IEnumerable<HubDescriptor> GetHubs(this IHubManager hubManager)
        {
            if (hubManager == null)
            {
                throw new ArgumentNullException("hubManager");
            }

            return hubManager.GetHubs(d => true);
        }