4 types derived from Hub
Microsoft.AspNetCore.Components.Server (1)
ComponentHub.cs (1)
37
internal sealed partial class ComponentHub :
Hub
Microsoft.AspNetCore.SignalR.Core (2)
DynamicHub.cs (1)
12
public abstract class DynamicHub :
Hub
Hub`T.cs (1)
14
public abstract class Hub<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] T> :
Hub
where T : class
SignalRWeb (1)
Hubs\ChatHub.cs (1)
3
public class ChatHub :
Hub
77 references to Hub
Microsoft.AspNetCore.Components.Server (7)
Builder\ComponentEndpointRouteBuilderExtensions.cs (6)
17
/// Maps the Blazor <see cref="
Hub
" /> to the default path.
29
/// Maps the Blazor <see cref="
Hub
" /> to the path <paramref name="path"/>.
32
/// <param name="path">The path to map the Blazor <see cref="
Hub
" />.</param>
45
///Maps the Blazor <see cref="
Hub
" /> to the default path.
61
/// Maps the Blazor <see cref="
Hub
" /> to the path <paramref name="path"/>.
64
/// <param name="path">The path to map the Blazor <see cref="
Hub
" />.</param>
Builder\ServerRazorComponentsEndpointConventionBuilderExtensions.cs (1)
28
/// Maps the Blazor <see cref="
Hub
" /> to the default path.
Microsoft.AspNetCore.SignalR (8)
HubEndpointRouteBuilderExtensions.cs (7)
13
/// Extension methods on <see cref="IEndpointRouteBuilder"/> to add routes to <see cref="
Hub
"/>s.
20
/// Maps incoming requests with the specified path to the specified <see cref="
Hub
"/> type.
22
/// <typeparam name="THub">The <see cref="
Hub
"/> type to map requests to.</typeparam>
26
public static HubEndpointConventionBuilder MapHub<[DynamicallyAccessedMembers(HubAccessibility)] THub>(this IEndpointRouteBuilder endpoints, [StringSyntax("Route")] string pattern) where THub :
Hub
32
/// Maps incoming requests with the specified path to the specified <see cref="
Hub
"/> type.
34
/// <typeparam name="THub">The <see cref="
Hub
"/> type to map requests to.</typeparam>
39
public static HubEndpointConventionBuilder MapHub<[DynamicallyAccessedMembers(HubAccessibility)] THub>(this IEndpointRouteBuilder endpoints, [StringSyntax("Route")] string pattern, Action<HttpConnectionDispatcherOptions>? configureOptions) where THub :
Hub
SignalRDependencyInjectionExtensions.cs (1)
23
public static ISignalRServerBuilder AddHubOptions<THub>(this ISignalRServerBuilder signalrBuilder, Action<HubOptions<THub>> configure) where THub :
Hub
Microsoft.AspNetCore.SignalR.Core (56)
DefaultHubLifetimeManager.cs (2)
14
/// A default in-memory lifetime manager abstraction for <see cref="
Hub
"/> instances.
16
public class DefaultHubLifetimeManager<THub> : HubLifetimeManager<THub> where THub :
Hub
Hub.cs (1)
90
/// Releases all resources currently used by this <see cref="
Hub
"/> instance.
HubConnectionHandler.cs (2)
20
public class HubConnectionHandler<[DynamicallyAccessedMembers(
Hub
.DynamicallyAccessedMembers)] THub> : ConnectionHandler where THub :
Hub
HubInvocationContext.cs (3)
24
public HubInvocationContext(HubCallerContext context, IServiceProvider serviceProvider,
Hub
hub, MethodInfo hubMethod, IReadOnlyList<object?> hubMethodArguments)
33
internal HubInvocationContext(ObjectMethodExecutor objectMethodExecutor, HubCallerContext context, IServiceProvider serviceProvider,
Hub
hub, object?[] hubMethodArguments)
47
public
Hub
Hub { get; }
HubLifetimeContext.cs (4)
7
/// Context for the hub lifetime events <see cref="
Hub
.OnConnectedAsync"/> and <see cref="
Hub
.OnDisconnectedAsync(Exception)"/>.
17
public HubLifetimeContext(HubCallerContext context, IServiceProvider serviceProvider,
Hub
hub)
32
public
Hub
Hub { get; }
HubLifetimeManager.cs (2)
10
/// A lifetime manager abstraction for <see cref="
Hub
"/> instances.
12
public abstract class HubLifetimeManager<THub> where THub :
Hub
HubMetadata.cs (4)
7
/// Metadata that describes the <see cref="
Hub
"/> information associated with a specific endpoint.
12
/// Constructs the <see cref="HubMetadata"/> of the given <see cref="
Hub
"/> type.
14
/// <param name="hubType">The <see cref="Type"/> of the <see cref="
Hub
"/>.</param>
21
/// The type of <see cref="
Hub
"/>.
HubOptions`T.cs (1)
10
public class HubOptions<THub> : HubOptions where THub :
Hub
HubOptionsSetup`T.cs (2)
11
/// <typeparam name="THub">The <see cref="
Hub
"/> type to configure.</typeparam>
12
public class HubOptionsSetup<THub> : IConfigureOptions<HubOptions<THub>> where THub :
Hub
IHubActivator.cs (3)
9
/// A <see cref="
Hub
"/> activator abstraction.
12
public interface IHubActivator<[DynamicallyAccessedMembers(
Hub
.DynamicallyAccessedMembers)] THub> where THub :
Hub
IHubContext.cs (1)
25
public interface IHubContext<out THub> where THub :
Hub
IHubFilter.cs (2)
20
/// Allows handling of the <see cref="
Hub
.OnConnectedAsync"/> method.
28
/// Allows handling of the <see cref="
Hub
.OnDisconnectedAsync(Exception)"/> method.
Internal\DefaultHubActivator.cs (2)
10
internal sealed class DefaultHubActivator<[DynamicallyAccessedMembers(
Hub
.DynamicallyAccessedMembers)] THub> : IHubActivator<THub> where THub :
Hub
Internal\DefaultHubDispatcher.cs (5)
21
internal sealed partial class DefaultHubDispatcher<[DynamicallyAccessedMembers(
Hub
.DynamicallyAccessedMembers)] THub> : HubDispatcher<THub> where THub :
Hub
618
private ValueTask<object?> ExecuteMethod(string hubMethodName,
Hub
hub, object?[] arguments)
628
private static async ValueTask<object?> ExecuteMethod(ObjectMethodExecutor methodExecutor,
Hub
hub, object?[] arguments)
665
private static Task<bool> IsHubMethodAuthorized(IServiceProvider provider, HubConnectionContext hubConnectionContext, HubMethodDescriptor descriptor, object?[] hubMethodArguments,
Hub
hub)
Internal\GroupManager.cs (1)
6
internal sealed class GroupManager<THub> : IGroupManager where THub :
Hub
Internal\HubClients.cs (1)
6
internal sealed class HubClients<THub> : IHubClients where THub :
Hub
Internal\HubClients`T.cs (1)
9
internal sealed class HubClients<THub, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] T> : IHubClients<T> where THub :
Hub
Internal\HubConnectionBinder.cs (2)
8
internal sealed class HubConnectionBinder<[DynamicallyAccessedMembers(
Hub
.DynamicallyAccessedMembers)] THub> : IInvocationBinder where THub :
Hub
Internal\HubContext.cs (1)
6
internal sealed class HubContext<THub> : IHubContext, IHubContext<THub> where THub :
Hub
Internal\HubDispatcher.cs (2)
9
internal abstract class HubDispatcher<[DynamicallyAccessedMembers(
Hub
.DynamicallyAccessedMembers)] THub> where THub :
Hub
Internal\HubReflectionHelper.cs (1)
29
return typeof(
Hub
) != baseType;
Internal\Proxies.cs (9)
6
internal sealed class UserProxy<THub> : IClientProxy where THub :
Hub
25
internal sealed class MultipleUserProxy<THub> : IClientProxy where THub :
Hub
42
internal sealed class GroupProxy<THub> : IClientProxy where THub :
Hub
61
internal sealed class MultipleGroupProxy<THub> : IClientProxy where THub :
Hub
78
internal sealed class GroupExceptProxy<THub> : IClientProxy where THub :
Hub
99
internal sealed class AllClientProxy<THub> : IClientProxy where THub :
Hub
114
internal sealed class AllClientsExceptProxy<THub> : IClientProxy where THub :
Hub
131
internal sealed class MultipleClientProxy<THub> : IClientProxy where THub :
Hub
148
internal sealed class SingleClientProxy<THub> : ISingleClientProxy where THub :
Hub
SignalRConnectionBuilderExtensions.cs (4)
16
/// Configure the connection to host the specified <see cref="
Hub
"/> type.
18
/// <typeparam name="THub">The <see cref="
Hub
"/> type to host on the connection.</typeparam>
21
public static IConnectionBuilder UseHub<[DynamicallyAccessedMembers(
Hub
.DynamicallyAccessedMembers)] THub>(this IConnectionBuilder connectionBuilder) where THub :
Hub
Microsoft.AspNetCore.SignalR.Specification.Tests (4)
HubLifetimeManagerTestBase.cs (2)
14
/// <typeparam name="THub">The type of the <see cref="
Hub
"/>.</typeparam>
15
public abstract class HubLifetimeManagerTestsBase<THub> where THub :
Hub
ScaleoutHubLifetimeManagerTests.cs (2)
15
public abstract class ScaleoutHubLifetimeManagerTests<TBackplane> : HubLifetimeManagerTestsBase<
Hub
>
28
public abstract HubLifetimeManager<
Hub
> CreateNewHubLifetimeManager(TBackplane backplane);
Microsoft.AspNetCore.SignalR.StackExchangeRedis (2)
RedisHubLifetimeManager.cs (2)
23
/// <typeparam name="THub">The type of <see cref="
Hub
"/> to manage connections for.</typeparam>
24
public class RedisHubLifetimeManager<THub> : HubLifetimeManager<THub>, IDisposable where THub :
Hub