RedisGrainDirectoryExtensions.AddRedisGrainDirectory 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
AddRedisGrainDirectory(ISiloBuilder, String, Action<OptionsBuilder<RedisGrainDirectoryOptions>>) |
新增具名的粒度目錄,以保存 Redis 中的專案。 |
AddRedisGrainDirectory(ISiloBuilder, String, Action<RedisGrainDirectoryOptions>) |
新增具名的粒度目錄,以保存 Redis 中的專案。 |
AddRedisGrainDirectory(ISiloHostBuilder, String, Action<OptionsBuilder<RedisGrainDirectoryOptions>>) |
將 Redis 數據存放區新增為具名的 Grain Directory |
AddRedisGrainDirectory(ISiloHostBuilder, String, Action<RedisGrainDirectoryOptions>) |
將 Redis 數據存放區新增為具名的 Grain Directory |
AddRedisGrainDirectory(ISiloBuilder, String, Action<OptionsBuilder<RedisGrainDirectoryOptions>>)
新增具名的粒度目錄,以保存 Redis 中的專案。
public static Orleans.Hosting.ISiloBuilder AddRedisGrainDirectory (this Orleans.Hosting.ISiloBuilder builder, string name, Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.RedisGrainDirectoryOptions>> configureOptions);
static member AddRedisGrainDirectory : Orleans.Hosting.ISiloBuilder * string * Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.RedisGrainDirectoryOptions>> -> Orleans.Hosting.ISiloBuilder
<Extension()>
Public Function AddRedisGrainDirectory (builder As ISiloBuilder, name As String, configureOptions As Action(Of OptionsBuilder(Of RedisGrainDirectoryOptions))) As ISiloBuilder
參數
- builder
- ISiloBuilder
- name
- String
- configureOptions
- Action<OptionsBuilder<RedisGrainDirectoryOptions>>
傳回
適用於
AddRedisGrainDirectory(ISiloBuilder, String, Action<RedisGrainDirectoryOptions>)
新增具名的粒度目錄,以保存 Redis 中的專案。
public static Orleans.Hosting.ISiloBuilder AddRedisGrainDirectory (this Orleans.Hosting.ISiloBuilder builder, string name, Action<Orleans.Configuration.RedisGrainDirectoryOptions> configureOptions);
static member AddRedisGrainDirectory : Orleans.Hosting.ISiloBuilder * string * Action<Orleans.Configuration.RedisGrainDirectoryOptions> -> Orleans.Hosting.ISiloBuilder
<Extension()>
Public Function AddRedisGrainDirectory (builder As ISiloBuilder, name As String, configureOptions As Action(Of RedisGrainDirectoryOptions)) As ISiloBuilder
參數
- builder
- ISiloBuilder
- name
- String
- configureOptions
- Action<RedisGrainDirectoryOptions>
傳回
適用於
AddRedisGrainDirectory(ISiloHostBuilder, String, Action<OptionsBuilder<RedisGrainDirectoryOptions>>)
將 Redis 數據存放區新增為具名的 Grain Directory
public static Orleans.Hosting.ISiloHostBuilder AddRedisGrainDirectory (this Orleans.Hosting.ISiloHostBuilder builder, string name, Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.RedisGrainDirectoryOptions>> configureOptions);
static member AddRedisGrainDirectory : Orleans.Hosting.ISiloHostBuilder * string * Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.RedisGrainDirectoryOptions>> -> Orleans.Hosting.ISiloHostBuilder
<Extension()>
Public Function AddRedisGrainDirectory (builder As ISiloHostBuilder, name As String, configureOptions As Action(Of OptionsBuilder(Of RedisGrainDirectoryOptions))) As ISiloHostBuilder
參數
- builder
- ISiloHostBuilder
- name
- String
- configureOptions
- Action<OptionsBuilder<RedisGrainDirectoryOptions>>
傳回
適用於
AddRedisGrainDirectory(ISiloHostBuilder, String, Action<RedisGrainDirectoryOptions>)
將 Redis 數據存放區新增為具名的 Grain Directory
public static Orleans.Hosting.ISiloHostBuilder AddRedisGrainDirectory (this Orleans.Hosting.ISiloHostBuilder builder, string name, Action<Orleans.Configuration.RedisGrainDirectoryOptions> configureOptions);
static member AddRedisGrainDirectory : Orleans.Hosting.ISiloHostBuilder * string * Action<Orleans.Configuration.RedisGrainDirectoryOptions> -> Orleans.Hosting.ISiloHostBuilder
<Extension()>
Public Function AddRedisGrainDirectory (builder As ISiloHostBuilder, name As String, configureOptions As Action(Of RedisGrainDirectoryOptions)) As ISiloHostBuilder
參數
- builder
- ISiloHostBuilder
- name
- String
- configureOptions
- Action<RedisGrainDirectoryOptions>