StackExchangeRedisDependencyInjectionExtensions.AddStackExchangeRedis 方法

定义

重载

AddStackExchangeRedis(ISignalRServerBuilder)

使用共享 Redis 服务器将横向扩展添加到 ISignalRServerBuilder

AddStackExchangeRedis(ISignalRServerBuilder, Action<RedisOptions>)

使用共享 Redis 服务器将横向扩展添加到 ISignalRServerBuilder

AddStackExchangeRedis(ISignalRServerBuilder, String)

使用共享 Redis 服务器将横向扩展添加到 ISignalRServerBuilder

AddStackExchangeRedis(ISignalRServerBuilder, String, Action<RedisOptions>)

使用共享 Redis 服务器将横向扩展添加到 ISignalRServerBuilder

AddStackExchangeRedis(ISignalRServerBuilder)

Source:
RedisDependencyInjectionExtensions.cs
Source:
RedisDependencyInjectionExtensions.cs
Source:
RedisDependencyInjectionExtensions.cs
Source:
RedisDependencyInjectionExtensions.cs
Source:
RedisDependencyInjectionExtensions.cs
Source:
RedisDependencyInjectionExtensions.cs
Source:
RedisDependencyInjectionExtensions.cs
Source:
RedisDependencyInjectionExtensions.cs

使用共享 Redis 服务器将横向扩展添加到 ISignalRServerBuilder

public static Microsoft.AspNetCore.SignalR.ISignalRServerBuilder AddStackExchangeRedis (this Microsoft.AspNetCore.SignalR.ISignalRServerBuilder signalrBuilder);
static member AddStackExchangeRedis : Microsoft.AspNetCore.SignalR.ISignalRServerBuilder -> Microsoft.AspNetCore.SignalR.ISignalRServerBuilder
<Extension()>
Public Function AddStackExchangeRedis (signalrBuilder As ISignalRServerBuilder) As ISignalRServerBuilder

参数

返回

用于链接的相同 ISignalRServerBuilder 实例。

适用于

AddStackExchangeRedis(ISignalRServerBuilder, Action<RedisOptions>)

Source:
RedisDependencyInjectionExtensions.cs
Source:
RedisDependencyInjectionExtensions.cs
Source:
RedisDependencyInjectionExtensions.cs
Source:
RedisDependencyInjectionExtensions.cs
Source:
RedisDependencyInjectionExtensions.cs
Source:
RedisDependencyInjectionExtensions.cs
Source:
RedisDependencyInjectionExtensions.cs
Source:
RedisDependencyInjectionExtensions.cs

使用共享 Redis 服务器将横向扩展添加到 ISignalRServerBuilder

public static Microsoft.AspNetCore.SignalR.ISignalRServerBuilder AddStackExchangeRedis (this Microsoft.AspNetCore.SignalR.ISignalRServerBuilder signalrBuilder, Action<Microsoft.AspNetCore.SignalR.StackExchangeRedis.RedisOptions> configure);
static member AddStackExchangeRedis : Microsoft.AspNetCore.SignalR.ISignalRServerBuilder * Action<Microsoft.AspNetCore.SignalR.StackExchangeRedis.RedisOptions> -> Microsoft.AspNetCore.SignalR.ISignalRServerBuilder
<Extension()>
Public Function AddStackExchangeRedis (signalrBuilder As ISignalRServerBuilder, configure As Action(Of RedisOptions)) As ISignalRServerBuilder

参数

configure
Action<RedisOptions>

用于配置 Redis 选项的回调。

返回

用于链接的相同 ISignalRServerBuilder 实例。

适用于

AddStackExchangeRedis(ISignalRServerBuilder, String)

Source:
RedisDependencyInjectionExtensions.cs
Source:
RedisDependencyInjectionExtensions.cs
Source:
RedisDependencyInjectionExtensions.cs
Source:
RedisDependencyInjectionExtensions.cs
Source:
RedisDependencyInjectionExtensions.cs
Source:
RedisDependencyInjectionExtensions.cs
Source:
RedisDependencyInjectionExtensions.cs
Source:
RedisDependencyInjectionExtensions.cs

使用共享 Redis 服务器将横向扩展添加到 ISignalRServerBuilder

public static Microsoft.AspNetCore.SignalR.ISignalRServerBuilder AddStackExchangeRedis (this Microsoft.AspNetCore.SignalR.ISignalRServerBuilder signalrBuilder, string redisConnectionString);
static member AddStackExchangeRedis : Microsoft.AspNetCore.SignalR.ISignalRServerBuilder * string -> Microsoft.AspNetCore.SignalR.ISignalRServerBuilder
<Extension()>
Public Function AddStackExchangeRedis (signalrBuilder As ISignalRServerBuilder, redisConnectionString As String) As ISignalRServerBuilder

参数

redisConnectionString
String

用于连接到 Redis 服务器的连接字符串。

返回

用于链接的相同 ISignalRServerBuilder 实例。

适用于

AddStackExchangeRedis(ISignalRServerBuilder, String, Action<RedisOptions>)

Source:
RedisDependencyInjectionExtensions.cs
Source:
RedisDependencyInjectionExtensions.cs
Source:
RedisDependencyInjectionExtensions.cs
Source:
RedisDependencyInjectionExtensions.cs
Source:
RedisDependencyInjectionExtensions.cs
Source:
RedisDependencyInjectionExtensions.cs
Source:
RedisDependencyInjectionExtensions.cs
Source:
RedisDependencyInjectionExtensions.cs

使用共享 Redis 服务器将横向扩展添加到 ISignalRServerBuilder

public static Microsoft.AspNetCore.SignalR.ISignalRServerBuilder AddStackExchangeRedis (this Microsoft.AspNetCore.SignalR.ISignalRServerBuilder signalrBuilder, string redisConnectionString, Action<Microsoft.AspNetCore.SignalR.StackExchangeRedis.RedisOptions> configure);
static member AddStackExchangeRedis : Microsoft.AspNetCore.SignalR.ISignalRServerBuilder * string * Action<Microsoft.AspNetCore.SignalR.StackExchangeRedis.RedisOptions> -> Microsoft.AspNetCore.SignalR.ISignalRServerBuilder
<Extension()>
Public Function AddStackExchangeRedis (signalrBuilder As ISignalRServerBuilder, redisConnectionString As String, configure As Action(Of RedisOptions)) As ISignalRServerBuilder

参数

redisConnectionString
String

用于连接到 Redis 服务器的连接字符串。

configure
Action<RedisOptions>

用于配置 Redis 选项的回调。

返回

用于链接的相同 ISignalRServerBuilder 实例。

适用于