Partilhar via


RedisHubLifetimeManager<THub> Construtores

Definição

Sobrecargas

RedisHubLifetimeManager<THub>(ILogger<RedisHubLifetimeManager<THub>>, IOptions<RedisOptions>, IHubProtocolResolver)

Constrói o RedisHubLifetimeManager<THub> com tipos de Injeção de Dependência.

RedisHubLifetimeManager<THub>(ILogger<RedisHubLifetimeManager<THub>>, IOptions<RedisOptions>, IHubProtocolResolver, IOptions<HubOptions>, IOptions<HubOptions<THub>>)

Constrói o RedisHubLifetimeManager<THub> com tipos de Injeção de Dependência.

RedisHubLifetimeManager<THub>(ILogger<RedisHubLifetimeManager<THub>>, IOptions<RedisOptions>, IHubProtocolResolver)

Origem:
RedisHubLifetimeManager.cs
Origem:
RedisHubLifetimeManager.cs
Origem:
RedisHubLifetimeManager.cs
Origem:
RedisHubLifetimeManager.cs
Origem:
RedisHubLifetimeManager.cs
Origem:
RedisHubLifetimeManager.cs
Origem:
RedisHubLifetimeManager.cs
Origem:
RedisHubLifetimeManager.cs

Constrói o RedisHubLifetimeManager<THub> com tipos de Injeção de Dependência.

public:
 RedisHubLifetimeManager(Microsoft::Extensions::Logging::ILogger<Microsoft::AspNetCore::SignalR::StackExchangeRedis::RedisHubLifetimeManager<THub> ^> ^ logger, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::SignalR::StackExchangeRedis::RedisOptions ^> ^ options, Microsoft::AspNetCore::SignalR::IHubProtocolResolver ^ hubProtocolResolver);
public RedisHubLifetimeManager (Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.SignalR.StackExchangeRedis.RedisHubLifetimeManager<THub>> logger, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.SignalR.StackExchangeRedis.RedisOptions> options, Microsoft.AspNetCore.SignalR.IHubProtocolResolver hubProtocolResolver);
new Microsoft.AspNetCore.SignalR.StackExchangeRedis.RedisHubLifetimeManager<'Hub (requires 'Hub :> Microsoft.AspNetCore.SignalR.Hub)> : Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.SignalR.StackExchangeRedis.RedisHubLifetimeManager<'Hub>> * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.SignalR.StackExchangeRedis.RedisOptions> * Microsoft.AspNetCore.SignalR.IHubProtocolResolver -> Microsoft.AspNetCore.SignalR.StackExchangeRedis.RedisHubLifetimeManager<'Hub (requires 'Hub :> Microsoft.AspNetCore.SignalR.Hub)>
Public Sub New (logger As ILogger(Of RedisHubLifetimeManager(Of THub)), options As IOptions(Of RedisOptions), hubProtocolResolver As IHubProtocolResolver)

Parâmetros

logger
ILogger<RedisHubLifetimeManager<THub>>

O agente para escrever informações sobre o que a classe está fazendo.

options
IOptions<RedisOptions>

O RedisOptions que influencia o comportamento da conexão redis.

hubProtocolResolver
IHubProtocolResolver

O IHubProtocolResolver para obter uma IHubProtocol instância ao gravar em conexões.

Aplica-se a

RedisHubLifetimeManager<THub>(ILogger<RedisHubLifetimeManager<THub>>, IOptions<RedisOptions>, IHubProtocolResolver, IOptions<HubOptions>, IOptions<HubOptions<THub>>)

Origem:
RedisHubLifetimeManager.cs
Origem:
RedisHubLifetimeManager.cs
Origem:
RedisHubLifetimeManager.cs
Origem:
RedisHubLifetimeManager.cs
Origem:
RedisHubLifetimeManager.cs
Origem:
RedisHubLifetimeManager.cs

Constrói o RedisHubLifetimeManager<THub> com tipos de Injeção de Dependência.

public RedisHubLifetimeManager (Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.SignalR.StackExchangeRedis.RedisHubLifetimeManager<THub>> logger, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.SignalR.StackExchangeRedis.RedisOptions> options, Microsoft.AspNetCore.SignalR.IHubProtocolResolver hubProtocolResolver, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.SignalR.HubOptions> globalHubOptions, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.SignalR.HubOptions<THub>> hubOptions);
public RedisHubLifetimeManager (Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.SignalR.StackExchangeRedis.RedisHubLifetimeManager<THub>> logger, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.SignalR.StackExchangeRedis.RedisOptions> options, Microsoft.AspNetCore.SignalR.IHubProtocolResolver hubProtocolResolver, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.SignalR.HubOptions>? globalHubOptions, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.SignalR.HubOptions<THub>>? hubOptions);
new Microsoft.AspNetCore.SignalR.StackExchangeRedis.RedisHubLifetimeManager<'Hub (requires 'Hub :> Microsoft.AspNetCore.SignalR.Hub)> : Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.SignalR.StackExchangeRedis.RedisHubLifetimeManager<'Hub>> * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.SignalR.StackExchangeRedis.RedisOptions> * Microsoft.AspNetCore.SignalR.IHubProtocolResolver * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.SignalR.HubOptions> * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.SignalR.HubOptions<'Hub>> -> Microsoft.AspNetCore.SignalR.StackExchangeRedis.RedisHubLifetimeManager<'Hub (requires 'Hub :> Microsoft.AspNetCore.SignalR.Hub)>
Public Sub New (logger As ILogger(Of RedisHubLifetimeManager(Of THub)), options As IOptions(Of RedisOptions), hubProtocolResolver As IHubProtocolResolver, globalHubOptions As IOptions(Of HubOptions), hubOptions As IOptions(Of HubOptions(Of THub)))

Parâmetros

logger
ILogger<RedisHubLifetimeManager<THub>>

O agente para escrever informações sobre o que a classe está fazendo.

options
IOptions<RedisOptions>

O RedisOptions que influencia o comportamento da conexão redis.

hubProtocolResolver
IHubProtocolResolver

O IHubProtocolResolver para obter uma IHubProtocol instância ao gravar em conexões.

globalHubOptions
IOptions<HubOptions>

O global HubOptions.

hubOptions
IOptions<HubOptions<THub>>

As THub opções específicas.

Aplica-se a