MemoryGrainStorageSiloBuilderExtensions.AddMemoryGrainStorageAsDefault 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
AddMemoryGrainStorageAsDefault(ISiloBuilder, Action<OptionsBuilder<MemoryGrainStorageOptions>>) |
將接收器設定為使用記憶體細微性儲存體作為預設的細微性儲存體。 |
AddMemoryGrainStorageAsDefault(ISiloBuilder, Action<MemoryGrainStorageOptions>) |
將接收器設定為使用記憶體細微性儲存體作為預設的細微性儲存體。 |
AddMemoryGrainStorageAsDefault(ISiloHostBuilder, Action<OptionsBuilder<MemoryGrainStorageOptions>>) |
將接收器設定為使用記憶體細微性儲存體作為預設的細微性儲存體。 |
AddMemoryGrainStorageAsDefault(ISiloHostBuilder, Action<MemoryGrainStorageOptions>) |
將接收器設定為使用記憶體細微性儲存體作為預設的細微性儲存體。 |
AddMemoryGrainStorageAsDefault(ISiloBuilder, Action<OptionsBuilder<MemoryGrainStorageOptions>>)
將接收器設定為使用記憶體細微性儲存體作為預設的細微性儲存體。
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>)
將接收器設定為使用記憶體細微性儲存體作為預設的細微性儲存體。
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>>)
將接收器設定為使用記憶體細微性儲存體作為預設的細微性儲存體。
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>)
將接收器設定為使用記憶體細微性儲存體作為預設的細微性儲存體。
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>