1 instantiation of HubMetadata
Microsoft.AspNetCore.SignalR (1)
HubEndpointRouteBuilderExtensions.cs (1)
68e.Metadata.Add(new HubMetadata(typeof(THub)));
7 references to HubMetadata
Microsoft.AspNetCore.Components.Server (1)
DependencyInjection\ServerRazorComponentsBuilderExtensions.cs (1)
87if (metadata is HubMetadata)
Microsoft.AspNetCore.SignalR.Core (1)
HubMetadata.cs (1)
12/// Constructs the <see cref="HubMetadata"/> of the given <see cref="Hub"/> type.
Microsoft.AspNetCore.SignalR.Tests (4)
MapSignalRTests.cs (4)
323Assert.Equal(typeof(AuthHub), endpoint.Metadata.GetMetadata<HubMetadata>()?.HubType); 329Assert.Equal(typeof(AuthHub), endpoint.Metadata.GetMetadata<HubMetadata>()?.HubType); 354Assert.Equal(typeof(AuthHub), endpoint.Metadata.GetMetadata<HubMetadata>()?.HubType); 360Assert.Equal(typeof(AuthHub), endpoint.Metadata.GetMetadata<HubMetadata>()?.HubType);
SignalR.Client.FunctionalTestApp (1)
Startup.cs (1)
74if (endpoint != null && endpoint.Metadata.GetMetadata<HubMetadata>() != null)