Microsoft.AspNetCore.SignalR.Hubs.DefaultHubManager.GetHubMethod C# (CSharp) Method

GetHubMethod() public method

public GetHubMethod ( string hubName, string method, IList parameters ) : MethodDescriptor
hubName string
method string
parameters IList
return MethodDescriptor
        public MethodDescriptor GetHubMethod(string hubName, string method, IList<IJsonValue> parameters)
        {
            HubDescriptor hub = GetHub(hubName);

            if (hub == null)
            {
                return null;
            }

            MethodDescriptor descriptor = null;
            if (_methodProviders.FirstOrDefault(p => p.TryGetMethod(hub, method, out descriptor, parameters)) != null)
            {
                return descriptor;
            }

            return null;
        }