HubOptionsSetup<THub> Class

Definition

Class to configure the HubOptions for a specific THub.

generic <typename THub>
 where THub : Hubpublic ref class HubOptionsSetup : Microsoft::Extensions::Options::IConfigureOptions<Microsoft::AspNetCore::SignalR::HubOptions<THub> ^>
public class HubOptionsSetup<THub> : Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.SignalR.HubOptions<THub>> where THub : Hub
type HubOptionsSetup<'Hub (requires 'Hub :> Hub)> = class
    interface IConfigureOptions<HubOptions<'Hub>>
Public Class HubOptionsSetup(Of THub)
Implements IConfigureOptions(Of HubOptions(Of THub))

Type Parameters

THub

The Hub type to configure.

Inheritance
HubOptionsSetup<THub>
Implements

Constructors

HubOptionsSetup<THub>(IOptions<HubOptions>)

Constructs the options configuration class.

Methods

Configure(HubOptions<THub>)

Configures the default values of the HubOptions.

Applies to