Partager via


DefaultHubLifetimeManager<THub> Constructeur

Définition

Initialise une nouvelle instance de la classe DefaultHubLifetimeManager<THub>.

public:
 DefaultHubLifetimeManager(Microsoft::Extensions::Logging::ILogger<Microsoft::AspNetCore::SignalR::DefaultHubLifetimeManager<THub> ^> ^ logger);
public DefaultHubLifetimeManager (Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.SignalR.DefaultHubLifetimeManager<THub>> logger);
new Microsoft.AspNetCore.SignalR.DefaultHubLifetimeManager<'Hub (requires 'Hub :> Microsoft.AspNetCore.SignalR.Hub)> : Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.SignalR.DefaultHubLifetimeManager<'Hub>> -> Microsoft.AspNetCore.SignalR.DefaultHubLifetimeManager<'Hub (requires 'Hub :> Microsoft.AspNetCore.SignalR.Hub)>
Public Sub New (logger As ILogger(Of DefaultHubLifetimeManager(Of THub)))

Paramètres

logger
ILogger<DefaultHubLifetimeManager<THub>>

L'enregistreur.

S’applique à