Udostępnij za pośrednictwem


RedisHubLifetimeManager<THub> Konstruktory

Definicja

Przeciążenia

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

Konstruuje element RedisHubLifetimeManager<THub> z typami z wstrzykiwania zależności.

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

Konstruuje element RedisHubLifetimeManager<THub> z typami z wstrzykiwania zależności.

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

Źródło:
RedisHubLifetimeManager.cs
Źródło:
RedisHubLifetimeManager.cs
Źródło:
RedisHubLifetimeManager.cs
Źródło:
RedisHubLifetimeManager.cs
Źródło:
RedisHubLifetimeManager.cs
Źródło:
RedisHubLifetimeManager.cs
Źródło:
RedisHubLifetimeManager.cs
Źródło:
RedisHubLifetimeManager.cs

Konstruuje element RedisHubLifetimeManager<THub> z typami z wstrzykiwania zależności.

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)

Parametry

logger
ILogger<RedisHubLifetimeManager<THub>>

Rejestrator do pisania informacji o tym, co robi klasa.

options
IOptions<RedisOptions>

To RedisOptions ma wpływ na zachowanie połączenia usługi Redis.

hubProtocolResolver
IHubProtocolResolver

Element IHubProtocolResolver , aby uzyskać wystąpienie podczas zapisywania IHubProtocol w połączeniach.

Dotyczy

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

Źródło:
RedisHubLifetimeManager.cs
Źródło:
RedisHubLifetimeManager.cs
Źródło:
RedisHubLifetimeManager.cs
Źródło:
RedisHubLifetimeManager.cs
Źródło:
RedisHubLifetimeManager.cs
Źródło:
RedisHubLifetimeManager.cs

Konstruuje element RedisHubLifetimeManager<THub> z typami z wstrzykiwania zależności.

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

Parametry

logger
ILogger<RedisHubLifetimeManager<THub>>

Rejestrator do pisania informacji o tym, co robi klasa.

options
IOptions<RedisOptions>

To RedisOptions ma wpływ na zachowanie połączenia usługi Redis.

hubProtocolResolver
IHubProtocolResolver

Element IHubProtocolResolver , aby uzyskać wystąpienie podczas zapisywania IHubProtocol w połączeniach.

globalHubOptions
IOptions<HubOptions>

HubOptionsGlobalny element .

hubOptions
IOptions<HubOptions<THub>>

Określone THub opcje.

Dotyczy