MemoryGrainStorageSiloBuilderExtensions.AddMemoryGrainStorageAsDefault 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
AddMemoryGrainStorageAsDefault(ISiloBuilder, Action<OptionsBuilder<MemoryGrainStorageOptions>>) |
配置 silo 以使用内存粒度存储作为默认粒度存储。 |
AddMemoryGrainStorageAsDefault(ISiloBuilder, Action<MemoryGrainStorageOptions>) |
配置 silo 以使用内存粒度存储作为默认粒度存储。 |
AddMemoryGrainStorageAsDefault(ISiloHostBuilder, Action<OptionsBuilder<MemoryGrainStorageOptions>>) |
配置 silo 以使用内存粒度存储作为默认粒度存储。 |
AddMemoryGrainStorageAsDefault(ISiloHostBuilder, Action<MemoryGrainStorageOptions>) |
配置 silo 以使用内存粒度存储作为默认粒度存储。 |
AddMemoryGrainStorageAsDefault(ISiloBuilder, Action<OptionsBuilder<MemoryGrainStorageOptions>>)
配置 silo 以使用内存粒度存储作为默认粒度存储。
public static Orleans.Hosting.ISiloBuilder AddMemoryGrainStorageAsDefault (this Orleans.Hosting.ISiloBuilder builder, Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.MemoryGrainStorageOptions>> configureOptions = default);
static member AddMemoryGrainStorageAsDefault : Orleans.Hosting.ISiloBuilder * Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.MemoryGrainStorageOptions>> -> Orleans.Hosting.ISiloBuilder
<Extension()>
Public Function AddMemoryGrainStorageAsDefault (builder As ISiloBuilder, Optional configureOptions As Action(Of OptionsBuilder(Of MemoryGrainStorageOptions)) = Nothing) As ISiloBuilder
参数
- builder
- ISiloBuilder
生成器。
- configureOptions
- Action<OptionsBuilder<MemoryGrainStorageOptions>>
配置委托。
返回
silo 生成器。
适用于
AddMemoryGrainStorageAsDefault(ISiloBuilder, Action<MemoryGrainStorageOptions>)
配置 silo 以使用内存粒度存储作为默认粒度存储。
public static Orleans.Hosting.ISiloBuilder AddMemoryGrainStorageAsDefault (this Orleans.Hosting.ISiloBuilder builder, Action<Orleans.Configuration.MemoryGrainStorageOptions> configureOptions);
static member AddMemoryGrainStorageAsDefault : Orleans.Hosting.ISiloBuilder * Action<Orleans.Configuration.MemoryGrainStorageOptions> -> Orleans.Hosting.ISiloBuilder
<Extension()>
Public Function AddMemoryGrainStorageAsDefault (builder As ISiloBuilder, configureOptions As Action(Of MemoryGrainStorageOptions)) As ISiloBuilder
参数
- builder
- ISiloBuilder
生成器。
- configureOptions
- Action<MemoryGrainStorageOptions>
配置委托。
返回
silo 生成器。
适用于
AddMemoryGrainStorageAsDefault(ISiloHostBuilder, Action<OptionsBuilder<MemoryGrainStorageOptions>>)
配置 silo 以使用内存粒度存储作为默认粒度存储。
public static Orleans.Hosting.ISiloHostBuilder AddMemoryGrainStorageAsDefault (this Orleans.Hosting.ISiloHostBuilder builder, Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.MemoryGrainStorageOptions>> configureOptions = default);
static member AddMemoryGrainStorageAsDefault : Orleans.Hosting.ISiloHostBuilder * Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.MemoryGrainStorageOptions>> -> Orleans.Hosting.ISiloHostBuilder
<Extension()>
Public Function AddMemoryGrainStorageAsDefault (builder As ISiloHostBuilder, Optional configureOptions As Action(Of OptionsBuilder(Of MemoryGrainStorageOptions)) = Nothing) As ISiloHostBuilder
参数
- builder
- ISiloHostBuilder
- configureOptions
- Action<OptionsBuilder<MemoryGrainStorageOptions>>
返回
适用于
AddMemoryGrainStorageAsDefault(ISiloHostBuilder, Action<MemoryGrainStorageOptions>)
配置 silo 以使用内存粒度存储作为默认粒度存储。
public static Orleans.Hosting.ISiloHostBuilder AddMemoryGrainStorageAsDefault (this Orleans.Hosting.ISiloHostBuilder builder, Action<Orleans.Configuration.MemoryGrainStorageOptions> configureOptions);
static member AddMemoryGrainStorageAsDefault : Orleans.Hosting.ISiloHostBuilder * Action<Orleans.Configuration.MemoryGrainStorageOptions> -> Orleans.Hosting.ISiloHostBuilder
<Extension()>
Public Function AddMemoryGrainStorageAsDefault (builder As ISiloHostBuilder, configureOptions As Action(Of MemoryGrainStorageOptions)) As ISiloHostBuilder
参数
- builder
- ISiloHostBuilder
- configureOptions
- Action<MemoryGrainStorageOptions>