20 references to RedisHubLifetimeManager
Microsoft.AspNetCore.SignalR.Microbenchmarks (3)
RedisHubLifetimeManagerBenchmark.cs (3)
19
private
RedisHubLifetimeManager
<TestHub> _manager1;
20
private
RedisHubLifetimeManager
<TestHub> _manager2;
38
var logger = NullLogger<
RedisHubLifetimeManager
<TestHub>>.Instance;
Microsoft.AspNetCore.SignalR.StackExchangeRedis (10)
RedisDependencyInjectionExtensions.cs (1)
48
signalrBuilder.Services.AddSingleton(typeof(HubLifetimeManager<>), typeof(
RedisHubLifetimeManager
<>));
RedisHubLifetimeManager.cs (8)
45
/// Constructs the <see cref="
RedisHubLifetimeManager
{THub}"/> with types from Dependency Injection.
50
public RedisHubLifetimeManager(ILogger<
RedisHubLifetimeManager
<THub>> logger,
58
/// Constructs the <see cref="
RedisHubLifetimeManager
{THub}"/> with types from Dependency Injection.
65
public RedisHubLifetimeManager(ILogger<
RedisHubLifetimeManager
<THub>> logger,
330
var
lifetimeManager = (
RedisHubLifetimeManager
<THub>)state;
363
var
lifetimeManager = (
RedisHubLifetimeManager
<THub>)state;
RedisOptions.cs (1)
11
/// Options used to configure <see cref="
RedisHubLifetimeManager
{THub}"/>.
Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests (7)
RedisHubLifetimeManagerTests.cs (7)
30
private
RedisHubLifetimeManager
<Hub> CreateLifetimeManager(TestRedisServer server, MessagePackHubProtocolOptions messagePackOptions = null, NewtonsoftJsonHubProtocolOptions jsonOptions = null)
36
NullLogger<
RedisHubLifetimeManager
<Hub>>.Instance,
59
var
manager1 = CreateLifetimeManager(server, messagePackOptions, jsonOptions);
62
var
manager2 = CreateLifetimeManager(server);
100
var loggerT = mockLoggerFactory.Object.CreateLogger<
RedisHubLifetimeManager
<Hub>>();
102
var
manager = new RedisHubLifetimeManager<Hub>(
135
var
manager = CreateLifetimeManager(server);