1 instantiation of HubMetadata
Microsoft.AspNetCore.SignalR (1)
HubEndpointRouteBuilderExtensions.cs (1)
68
e.Metadata.Add(new
HubMetadata
(typeof(THub)));
7 references to HubMetadata
Microsoft.AspNetCore.Components.Server (1)
DependencyInjection\ServerRazorComponentsBuilderExtensions.cs (1)
87
if (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)
323
Assert.Equal(typeof(AuthHub), endpoint.Metadata.GetMetadata<
HubMetadata
>()?.HubType);
329
Assert.Equal(typeof(AuthHub), endpoint.Metadata.GetMetadata<
HubMetadata
>()?.HubType);
354
Assert.Equal(typeof(AuthHub), endpoint.Metadata.GetMetadata<
HubMetadata
>()?.HubType);
360
Assert.Equal(typeof(AuthHub), endpoint.Metadata.GetMetadata<
HubMetadata
>()?.HubType);
SignalR.Client.FunctionalTestApp (1)
Startup.cs (1)
74
if (endpoint != null && endpoint.Metadata.GetMetadata<
HubMetadata
>() != null)