1 type derived from HubOptions
Microsoft.AspNetCore.SignalR.Core (1)
HubOptions`T.cs (1)
10public class HubOptions<THub> : HubOptions where THub : Hub
22 references to HubOptions
Microsoft.AspNetCore.Components.Server (1)
DependencyInjection\ServerSideBlazorBuilderExtensions.cs (1)
36public static IServerSideBlazorBuilder AddHubOptions(this IServerSideBlazorBuilder builder, Action<HubOptions> configure)
Microsoft.AspNetCore.SignalR (3)
SignalRDependencyInjectionExtensions.cs (3)
46services.TryAddEnumerable(ServiceDescriptor.Singleton<IConfigureOptions<HubOptions>, HubOptionsSetup>()); 54/// <param name="configure">An <see cref="Action{HubOptions}"/> to configure the provided <see cref="HubOptions"/>.</param> 56public static ISignalRServerBuilder AddSignalR(this IServiceCollection services, Action<HubOptions> configure)
Microsoft.AspNetCore.SignalR.Core (18)
HubConnectionHandler.cs (2)
27private readonly HubOptions _globalHubOptions; 51IOptions<HubOptions> globalHubOptions,
HubOptionsExtensions.cs (6)
15/// Adds an instance of an <see cref="IHubFilter"/> to the <see cref="HubOptions"/>. 19public static void AddFilter(this HubOptions options, IHubFilter hubFilter) 33/// Adds an <see cref="IHubFilter"/> type to the <see cref="HubOptions"/> that will be resolved via DI or type activated. 37public static void AddFilter<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] TFilter>(this HubOptions options) where TFilter : IHubFilter 45/// Adds an <see cref="IHubFilter"/> type to the <see cref="HubOptions"/> that will be resolved via DI or type activated. 49public static void AddFilter(this HubOptions options, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] Type filterType)
HubOptionsSetup.cs (5)
11/// Class to configure the <see cref="HubOptions"/>. 13public class HubOptionsSetup : IConfigureOptions<HubOptions> 44/// Configures the default values of the <see cref="HubOptions"/>. 46/// <param name="options">The <see cref="HubOptions"/> to configure.</param> 47public void Configure(HubOptions options)
HubOptionsSetup`T.cs (5)
9/// Class to configure the <see cref="HubOptions"/> for a specific <typeparamref name="THub"/>. 14private readonly HubOptions _hubOptions; 19/// <param name="options">The global <see cref="HubOptions"/> from Dependency Injection.</param> 20public HubOptionsSetup(IOptions<HubOptions> options) 26/// Configures the default values of the <see cref="HubOptions"/>.