MemoryGrainStorageSiloBuilderExtensions.AddMemoryGrainStorageAsDefault 方法

定义

重载

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>>)

Source:
MemoryGrainStorageSiloBuilderExtensions.cs
Source:
MemoryGrainStorageSiloBuilderExtensions.cs
Source:
MemoryGrainStorageSiloBuilderExtensions.cs
Source:
MemoryGrainStorageSiloBuilderExtensions.cs
Source:
MemoryGrainStorageSiloBuilderExtensions.cs

配置 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>)

Source:
MemoryGrainStorageSiloBuilderExtensions.cs
Source:
MemoryGrainStorageSiloBuilderExtensions.cs
Source:
MemoryGrainStorageSiloBuilderExtensions.cs
Source:
MemoryGrainStorageSiloBuilderExtensions.cs
Source:
MemoryGrainStorageSiloBuilderExtensions.cs

配置 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>>)

Source:
MemoryGrainStorageSiloBuilderExtensions.cs

配置 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

参数

返回

适用于

AddMemoryGrainStorageAsDefault(ISiloHostBuilder, Action<MemoryGrainStorageOptions>)

Source:
MemoryGrainStorageSiloBuilderExtensions.cs

配置 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

参数

configureOptions
Action<MemoryGrainStorageOptions>

返回

适用于