共用方式為


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)

來源:
RedisDependencyInjectionExtensions.cs
來源:
RedisDependencyInjectionExtensions.cs
來源:
RedisDependencyInjectionExtensions.cs
來源:
RedisDependencyInjectionExtensions.cs
來源:
RedisDependencyInjectionExtensions.cs
來源:
RedisDependencyInjectionExtensions.cs
來源:
RedisDependencyInjectionExtensions.cs
來源:
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>)

來源:
RedisDependencyInjectionExtensions.cs
來源:
RedisDependencyInjectionExtensions.cs
來源:
RedisDependencyInjectionExtensions.cs
來源:
RedisDependencyInjectionExtensions.cs
來源:
RedisDependencyInjectionExtensions.cs
來源:
RedisDependencyInjectionExtensions.cs
來源:
RedisDependencyInjectionExtensions.cs
來源:
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)

來源:
RedisDependencyInjectionExtensions.cs
來源:
RedisDependencyInjectionExtensions.cs
來源:
RedisDependencyInjectionExtensions.cs
來源:
RedisDependencyInjectionExtensions.cs
來源:
RedisDependencyInjectionExtensions.cs
來源:
RedisDependencyInjectionExtensions.cs
來源:
RedisDependencyInjectionExtensions.cs
來源:
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>)

來源:
RedisDependencyInjectionExtensions.cs
來源:
RedisDependencyInjectionExtensions.cs
來源:
RedisDependencyInjectionExtensions.cs
來源:
RedisDependencyInjectionExtensions.cs
來源:
RedisDependencyInjectionExtensions.cs
來源:
RedisDependencyInjectionExtensions.cs
來源:
RedisDependencyInjectionExtensions.cs
來源:
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 執行個體。

適用於