@@ -16,22 +16,22 @@ public static class RedisDependencyInjectionExtensions
16
16
/// <summary>
17
17
/// Adds scale-out to a <see cref="ISignalRServerBuilder"/>, using a shared Redis server.
18
18
/// </summary>
19
- /// <param name="builder ">The <see cref="ISignalRServerBuilder"/>.</param>
19
+ /// <param name="signalrBuilder ">The <see cref="ISignalRServerBuilder"/>.</param>
20
20
/// <returns>The same instance of the <see cref="ISignalRServerBuilder"/> for chaining.</returns>
21
- public static ISignalRServerBuilder AddRedis ( this ISignalRServerBuilder builder )
21
+ public static ISignalRServerBuilder AddRedis ( this ISignalRServerBuilder signalrBuilder )
22
22
{
23
- return AddRedis ( builder , o => { } ) ;
23
+ return AddRedis ( signalrBuilder , o => { } ) ;
24
24
}
25
25
26
26
/// <summary>
27
27
/// Adds scale-out to a <see cref="ISignalRServerBuilder"/>, using a shared Redis server.
28
28
/// </summary>
29
- /// <param name="builder ">The <see cref="ISignalRServerBuilder"/>.</param>
29
+ /// <param name="signalrBuilder ">The <see cref="ISignalRServerBuilder"/>.</param>
30
30
/// <param name="redisConnectionString">The connection string used to connect to the Redis server.</param>
31
31
/// <returns>The same instance of the <see cref="ISignalRServerBuilder"/> for chaining.</returns>
32
- public static ISignalRServerBuilder AddRedis ( this ISignalRServerBuilder builder , string redisConnectionString )
32
+ public static ISignalRServerBuilder AddRedis ( this ISignalRServerBuilder signalrBuilder , string redisConnectionString )
33
33
{
34
- return AddRedis ( builder , o =>
34
+ return AddRedis ( signalrBuilder , o =>
35
35
{
36
36
o . Configuration = ConfigurationOptions . Parse ( redisConnectionString ) ;
37
37
} ) ;
@@ -40,26 +40,26 @@ public static ISignalRServerBuilder AddRedis(this ISignalRServerBuilder builder,
40
40
/// <summary>
41
41
/// Adds scale-out to a <see cref="ISignalRServerBuilder"/>, using a shared Redis server.
42
42
/// </summary>
43
- /// <param name="builder ">The <see cref="ISignalRServerBuilder"/>.</param>
43
+ /// <param name="signalrBuilder ">The <see cref="ISignalRServerBuilder"/>.</param>
44
44
/// <param name="configure">A callback to configure the Redis options.</param>
45
45
/// <returns>The same instance of the <see cref="ISignalRServerBuilder"/> for chaining.</returns>
46
- public static ISignalRServerBuilder AddRedis ( this ISignalRServerBuilder builder , Action < RedisOptions > configure )
46
+ public static ISignalRServerBuilder AddRedis ( this ISignalRServerBuilder signalrBuilder , Action < RedisOptions > configure )
47
47
{
48
- builder . Services . Configure ( configure ) ;
49
- builder . Services . AddSingleton ( typeof ( HubLifetimeManager < > ) , typeof ( RedisHubLifetimeManager < > ) ) ;
50
- return builder ;
48
+ signalrBuilder . Services . Configure ( configure ) ;
49
+ signalrBuilder . Services . AddSingleton ( typeof ( HubLifetimeManager < > ) , typeof ( RedisHubLifetimeManager < > ) ) ;
50
+ return signalrBuilder ;
51
51
}
52
52
53
53
/// <summary>
54
54
/// Adds scale-out to a <see cref="ISignalRServerBuilder"/>, using a shared Redis server.
55
55
/// </summary>
56
- /// <param name="builder ">The <see cref="ISignalRServerBuilder"/>.</param>
56
+ /// <param name="signalrBuilder ">The <see cref="ISignalRServerBuilder"/>.</param>
57
57
/// <param name="redisConnectionString">The connection string used to connect to the Redis server.</param>
58
58
/// <param name="configure">A callback to configure the Redis options.</param>
59
59
/// <returns>The same instance of the <see cref="ISignalRServerBuilder"/> for chaining.</returns>
60
- public static ISignalRServerBuilder AddRedis ( this ISignalRServerBuilder builder , string redisConnectionString , Action < RedisOptions > configure )
60
+ public static ISignalRServerBuilder AddRedis ( this ISignalRServerBuilder signalrBuilder , string redisConnectionString , Action < RedisOptions > configure )
61
61
{
62
- return AddRedis ( builder , o =>
62
+ return AddRedis ( signalrBuilder , o =>
63
63
{
64
64
o . Configuration = ConfigurationOptions . Parse ( redisConnectionString ) ;
65
65
configure ( o ) ;
0 commit comments