Edytuj

Udostępnij za pośrednictwem


MemoryGrainStorageSiloBuilderExtensions.AddMemoryGrainStorageAsDefault Method

Definition

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

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

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

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

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

Source:
MemoryGrainStorageSiloBuilderExtensions.cs

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

Returns

Applies to

AddMemoryGrainStorageAsDefault(ISiloHostBuilder, Action<MemoryGrainStorageOptions>)

Source:
MemoryGrainStorageSiloBuilderExtensions.cs

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

configureOptions
Action<MemoryGrainStorageOptions>

Returns

Applies to