Megosztás a következőn keresztül:


HubOptionsExtensions Class

Definition

Methods to add IHubFilter's to Hubs.

public ref class HubOptionsExtensions abstract sealed
public static class HubOptionsExtensions
type HubOptionsExtensions = class
Public Module HubOptionsExtensions
Inheritance
HubOptionsExtensions

Methods

AddFilter(HubOptions, IHubFilter)

Adds an instance of an IHubFilter to the HubOptions.

AddFilter(HubOptions, Type)

Adds an IHubFilter type to the HubOptions that will be resolved via DI or type activated.

AddFilter<TFilter>(HubOptions)

Adds an IHubFilter type to the HubOptions that will be resolved via DI or type activated.

Applies to