RedisGrainDirectoryExtensions.UseRedisGrainDirectoryAsDefault 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
UseRedisGrainDirectoryAsDefault(ISiloBuilder, Action<OptionsBuilder<RedisGrainDirectoryOptions>>) |
添加默认 grain 目录,用于在 Redis 中保存条目。 |
UseRedisGrainDirectoryAsDefault(ISiloBuilder, Action<RedisGrainDirectoryOptions>) |
添加默认 grain 目录,用于在 Redis 中保存条目。 |
UseRedisGrainDirectoryAsDefault(ISiloHostBuilder, Action<OptionsBuilder<RedisGrainDirectoryOptions>>) |
使用 Redis 数据存储作为默认 Grain 目录 |
UseRedisGrainDirectoryAsDefault(ISiloHostBuilder, Action<RedisGrainDirectoryOptions>) |
使用 Redis 数据存储作为默认 Grain 目录 |
UseRedisGrainDirectoryAsDefault(ISiloBuilder, Action<OptionsBuilder<RedisGrainDirectoryOptions>>)
添加默认 grain 目录,用于在 Redis 中保存条目。
public static Orleans.Hosting.ISiloBuilder UseRedisGrainDirectoryAsDefault (this Orleans.Hosting.ISiloBuilder builder, Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.RedisGrainDirectoryOptions>> configureOptions);
static member UseRedisGrainDirectoryAsDefault : Orleans.Hosting.ISiloBuilder * Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.RedisGrainDirectoryOptions>> -> Orleans.Hosting.ISiloBuilder
<Extension()>
Public Function UseRedisGrainDirectoryAsDefault (builder As ISiloBuilder, configureOptions As Action(Of OptionsBuilder(Of RedisGrainDirectoryOptions))) As ISiloBuilder
参数
- builder
- ISiloBuilder
- configureOptions
- Action<OptionsBuilder<RedisGrainDirectoryOptions>>
返回
适用于
UseRedisGrainDirectoryAsDefault(ISiloBuilder, Action<RedisGrainDirectoryOptions>)
添加默认 grain 目录,用于在 Redis 中保存条目。
public static Orleans.Hosting.ISiloBuilder UseRedisGrainDirectoryAsDefault (this Orleans.Hosting.ISiloBuilder builder, Action<Orleans.Configuration.RedisGrainDirectoryOptions> configureOptions);
static member UseRedisGrainDirectoryAsDefault : Orleans.Hosting.ISiloBuilder * Action<Orleans.Configuration.RedisGrainDirectoryOptions> -> Orleans.Hosting.ISiloBuilder
<Extension()>
Public Function UseRedisGrainDirectoryAsDefault (builder As ISiloBuilder, configureOptions As Action(Of RedisGrainDirectoryOptions)) As ISiloBuilder
参数
- builder
- ISiloBuilder
- configureOptions
- Action<RedisGrainDirectoryOptions>
返回
适用于
UseRedisGrainDirectoryAsDefault(ISiloHostBuilder, Action<OptionsBuilder<RedisGrainDirectoryOptions>>)
使用 Redis 数据存储作为默认 Grain 目录
public static Orleans.Hosting.ISiloHostBuilder UseRedisGrainDirectoryAsDefault (this Orleans.Hosting.ISiloHostBuilder builder, Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.RedisGrainDirectoryOptions>> configureOptions);
static member UseRedisGrainDirectoryAsDefault : Orleans.Hosting.ISiloHostBuilder * Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.RedisGrainDirectoryOptions>> -> Orleans.Hosting.ISiloHostBuilder
<Extension()>
Public Function UseRedisGrainDirectoryAsDefault (builder As ISiloHostBuilder, configureOptions As Action(Of OptionsBuilder(Of RedisGrainDirectoryOptions))) As ISiloHostBuilder
参数
- builder
- ISiloHostBuilder
- configureOptions
- Action<OptionsBuilder<RedisGrainDirectoryOptions>>
返回
适用于
UseRedisGrainDirectoryAsDefault(ISiloHostBuilder, Action<RedisGrainDirectoryOptions>)
使用 Redis 数据存储作为默认 Grain 目录
public static Orleans.Hosting.ISiloHostBuilder UseRedisGrainDirectoryAsDefault (this Orleans.Hosting.ISiloHostBuilder builder, Action<Orleans.Configuration.RedisGrainDirectoryOptions> configureOptions);
static member UseRedisGrainDirectoryAsDefault : Orleans.Hosting.ISiloHostBuilder * Action<Orleans.Configuration.RedisGrainDirectoryOptions> -> Orleans.Hosting.ISiloHostBuilder
<Extension()>
Public Function UseRedisGrainDirectoryAsDefault (builder As ISiloHostBuilder, configureOptions As Action(Of RedisGrainDirectoryOptions)) As ISiloHostBuilder
参数
- builder
- ISiloHostBuilder
- configureOptions
- Action<RedisGrainDirectoryOptions>