共用方式為


MemoryGrainStorageSiloBuilderExtensions.AddMemoryGrainStorageAsDefault 方法

定義

多載

AddMemoryGrainStorageAsDefault(ISiloBuilder, Action<OptionsBuilder<MemoryGrainStorageOptions>>)

將接收器設定為使用記憶體細微性儲存體作為預設的細微性儲存體。

AddMemoryGrainStorageAsDefault(ISiloBuilder, Action<MemoryGrainStorageOptions>)

將接收器設定為使用記憶體細微性儲存體作為預設的細微性儲存體。

AddMemoryGrainStorageAsDefault(ISiloHostBuilder, Action<OptionsBuilder<MemoryGrainStorageOptions>>)

將接收器設定為使用記憶體細微性儲存體作為預設的細微性儲存體。

AddMemoryGrainStorageAsDefault(ISiloHostBuilder, Action<MemoryGrainStorageOptions>)

將接收器設定為使用記憶體細微性儲存體作為預設的細微性儲存體。

AddMemoryGrainStorageAsDefault(ISiloBuilder, Action<OptionsBuilder<MemoryGrainStorageOptions>>)

來源:
MemoryGrainStorageSiloBuilderExtensions.cs
來源:
MemoryGrainStorageSiloBuilderExtensions.cs
來源:
MemoryGrainStorageSiloBuilderExtensions.cs
來源:
MemoryGrainStorageSiloBuilderExtensions.cs
來源:
MemoryGrainStorageSiloBuilderExtensions.cs

將接收器設定為使用記憶體細微性儲存體作為預設的細微性儲存體。

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

組態委派。

傳回

定址接收器產生器。

適用於

AddMemoryGrainStorageAsDefault(ISiloBuilder, Action<MemoryGrainStorageOptions>)

來源:
MemoryGrainStorageSiloBuilderExtensions.cs
來源:
MemoryGrainStorageSiloBuilderExtensions.cs
來源:
MemoryGrainStorageSiloBuilderExtensions.cs
來源:
MemoryGrainStorageSiloBuilderExtensions.cs
來源:
MemoryGrainStorageSiloBuilderExtensions.cs

將接收器設定為使用記憶體細微性儲存體作為預設的細微性儲存體。

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>

組態委派。

傳回

定址接收器產生器。

適用於

AddMemoryGrainStorageAsDefault(ISiloHostBuilder, Action<OptionsBuilder<MemoryGrainStorageOptions>>)

來源:
MemoryGrainStorageSiloBuilderExtensions.cs

將接收器設定為使用記憶體細微性儲存體作為預設的細微性儲存體。

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

來源:
MemoryGrainStorageSiloBuilderExtensions.cs

將接收器設定為使用記憶體細微性儲存體作為預設的細微性儲存體。

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>

傳回

適用於