Condividi tramite


RedisHubLifetimeManager<THub> Costruttori

Definizione

Overload

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

Costruisce con i tipi dall'inserimento RedisHubLifetimeManager<THub> delle dipendenze.

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

Costruisce con i tipi dall'inserimento RedisHubLifetimeManager<THub> delle dipendenze.

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

Origine:
RedisHubLifetimeManager.cs
Origine:
RedisHubLifetimeManager.cs
Origine:
RedisHubLifetimeManager.cs
Origine:
RedisHubLifetimeManager.cs
Origine:
RedisHubLifetimeManager.cs
Origine:
RedisHubLifetimeManager.cs
Origine:
RedisHubLifetimeManager.cs
Origine:
RedisHubLifetimeManager.cs

Costruisce con i tipi dall'inserimento RedisHubLifetimeManager<THub> delle dipendenze.

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)

Parametri

logger
ILogger<RedisHubLifetimeManager<THub>>

Logger per scrivere informazioni sulle operazioni della classe.

options
IOptions<RedisOptions>

Oggetto RedisOptions che influisce sul comportamento della connessione Redis.

hubProtocolResolver
IHubProtocolResolver

Oggetto IHubProtocolResolver per ottenere un'istanza IHubProtocol durante la scrittura nelle connessioni.

Si applica a

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

Origine:
RedisHubLifetimeManager.cs
Origine:
RedisHubLifetimeManager.cs
Origine:
RedisHubLifetimeManager.cs
Origine:
RedisHubLifetimeManager.cs
Origine:
RedisHubLifetimeManager.cs
Origine:
RedisHubLifetimeManager.cs

Costruisce con i tipi dall'inserimento RedisHubLifetimeManager<THub> delle dipendenze.

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

Parametri

logger
ILogger<RedisHubLifetimeManager<THub>>

Logger per scrivere informazioni sulle operazioni della classe.

options
IOptions<RedisOptions>

Oggetto RedisOptions che influisce sul comportamento della connessione Redis.

hubProtocolResolver
IHubProtocolResolver

Oggetto IHubProtocolResolver per ottenere un'istanza IHubProtocol durante la scrittura nelle connessioni.

globalHubOptions
IOptions<HubOptions>

Oggetto globale HubOptions.

hubOptions
IOptions<HubOptions<THub>>

Opzioni THub specifiche.

Si applica a