MemoryGrainStorageSiloBuilderExtensions.AddMemoryGrainStorageAsDefault Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
AddMemoryGrainStorageAsDefault(ISiloBuilder, Action<OptionsBuilder<MemoryGrainStorageOptions>>) |
Configure silo to use memory grain storage as the default grain storage. |
AddMemoryGrainStorageAsDefault(ISiloBuilder, Action<MemoryGrainStorageOptions>) |
Configure silo to use memory grain storage as the default grain storage. |
AddMemoryGrainStorageAsDefault(ISiloHostBuilder, Action<OptionsBuilder<MemoryGrainStorageOptions>>) |
Configure silo to use memory grain storage as the default grain storage. |
AddMemoryGrainStorageAsDefault(ISiloHostBuilder, Action<MemoryGrainStorageOptions>) |
Configure silo to use memory grain storage as the default grain storage. |
AddMemoryGrainStorageAsDefault(ISiloBuilder, Action<OptionsBuilder<MemoryGrainStorageOptions>>)
Configure silo to use memory grain storage as the default grain storage.
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
Parameters
- builder
- ISiloBuilder
The builder.
- configureOptions
- Action<OptionsBuilder<MemoryGrainStorageOptions>>
The configuration delegate.
Returns
The silo builder.
Applies to
AddMemoryGrainStorageAsDefault(ISiloBuilder, Action<MemoryGrainStorageOptions>)
Configure silo to use memory grain storage as the default grain storage.
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
Parameters
- builder
- ISiloBuilder
The builder.
- configureOptions
- Action<MemoryGrainStorageOptions>
The configuration delegate.
Returns
The silo builder.
Applies to
AddMemoryGrainStorageAsDefault(ISiloHostBuilder, Action<OptionsBuilder<MemoryGrainStorageOptions>>)
Configure silo to use memory grain storage as the default grain storage.
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
Parameters
- builder
- ISiloHostBuilder
- configureOptions
- Action<OptionsBuilder<MemoryGrainStorageOptions>>
Returns
Applies to
AddMemoryGrainStorageAsDefault(ISiloHostBuilder, Action<MemoryGrainStorageOptions>)
Configure silo to use memory grain storage as the default grain storage.
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
Parameters
- builder
- ISiloHostBuilder
- configureOptions
- Action<MemoryGrainStorageOptions>