RedisHubLifetimeManager<THub> Constructors

Definition

Overloads

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

Constructs the RedisHubLifetimeManager<THub> with types from Dependency Injection.

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

Constructs the RedisHubLifetimeManager<THub> with types from Dependency Injection.

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

Source:
RedisHubLifetimeManager.cs
Source:
RedisHubLifetimeManager.cs
Source:
RedisHubLifetimeManager.cs
Source:
RedisHubLifetimeManager.cs
Source:
RedisHubLifetimeManager.cs
Source:
RedisHubLifetimeManager.cs
Source:
RedisHubLifetimeManager.cs
Source:
RedisHubLifetimeManager.cs

Constructs the RedisHubLifetimeManager<THub> with types from Dependency Injection.

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)

Parameters

logger
ILogger<RedisHubLifetimeManager<THub>>

The logger to write information about what the class is doing.

options
IOptions<RedisOptions>

The RedisOptions that influence behavior of the Redis connection.

hubProtocolResolver
IHubProtocolResolver

The IHubProtocolResolver to get an IHubProtocol instance when writing to connections.

Applies to

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

Source:
RedisHubLifetimeManager.cs
Source:
RedisHubLifetimeManager.cs
Source:
RedisHubLifetimeManager.cs
Source:
RedisHubLifetimeManager.cs
Source:
RedisHubLifetimeManager.cs
Source:
RedisHubLifetimeManager.cs

Constructs the RedisHubLifetimeManager<THub> with types from Dependency Injection.

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

Parameters

logger
ILogger<RedisHubLifetimeManager<THub>>

The logger to write information about what the class is doing.

options
IOptions<RedisOptions>

The RedisOptions that influence behavior of the Redis connection.

hubProtocolResolver
IHubProtocolResolver

The IHubProtocolResolver to get an IHubProtocol instance when writing to connections.

globalHubOptions
IOptions<HubOptions>

The global HubOptions.

hubOptions
IOptions<HubOptions<THub>>

The THub specific options.

Applies to