Dela via


DefaultHubLifetimeManager<THub> Constructor

Definition

Initializes a new instance of the DefaultHubLifetimeManager<THub> class.

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)))

Parameters

logger
ILogger<DefaultHubLifetimeManager<THub>>

The logger.

Applies to