Microsoft.AspNetCore.SignalR.Hubs.HubTypeExtensions.GetHubName C# (CSharp) Méthode

GetHubName() static private méthode

static private GetHubName ( this type ) : string
type this
Résultat string
        internal static string GetHubName(this Type type)
        {
            if (!typeof(IHub).GetTypeInfo().IsAssignableFrom(type.GetTypeInfo()))
            {
                return null;
            }

            return GetHubAttributeName(type) ?? GetHubTypeName(type);
        }