Partilhar via


MemoryGrainStorageSiloBuilderExtensions.AddMemoryGrainStorage Método

Definição

Sobrecargas

AddMemoryGrainStorage(ISiloBuilder, String, Action<OptionsBuilder<MemoryGrainStorageOptions>>)

Configure o silo para usar o armazenamento de granularidade de memória.

AddMemoryGrainStorage(ISiloBuilder, String, Action<MemoryGrainStorageOptions>)

Configure o silo para usar o armazenamento de granularidade de memória.

AddMemoryGrainStorage(ISiloHostBuilder, String, Action<OptionsBuilder<MemoryGrainStorageOptions>>)

Configure o silo para usar o armazenamento de granularidade de memória como o armazenamento de granularidade padrão.

AddMemoryGrainStorage(ISiloHostBuilder, String, Action<MemoryGrainStorageOptions>)

Configure o silo para usar o armazenamento de granularidade de memória como o armazenamento de granularidade padrão.

AddMemoryGrainStorage(ISiloBuilder, String, Action<OptionsBuilder<MemoryGrainStorageOptions>>)

Origem:
MemoryGrainStorageSiloBuilderExtensions.cs
Origem:
MemoryGrainStorageSiloBuilderExtensions.cs
Origem:
MemoryGrainStorageSiloBuilderExtensions.cs
Origem:
MemoryGrainStorageSiloBuilderExtensions.cs
Origem:
MemoryGrainStorageSiloBuilderExtensions.cs

Configure o silo para usar o armazenamento de granularidade de memória.

public static Orleans.Hosting.ISiloBuilder AddMemoryGrainStorage (this Orleans.Hosting.ISiloBuilder builder, string name, Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.MemoryGrainStorageOptions>> configureOptions = default);
static member AddMemoryGrainStorage : Orleans.Hosting.ISiloBuilder * string * Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.MemoryGrainStorageOptions>> -> Orleans.Hosting.ISiloBuilder
<Extension()>
Public Function AddMemoryGrainStorage (builder As ISiloBuilder, name As String, Optional configureOptions As Action(Of OptionsBuilder(Of MemoryGrainStorageOptions)) = Nothing) As ISiloBuilder

Parâmetros

builder
ISiloBuilder

O construtor.

name
String

O nome do provedor de armazenamento. Isso deve corresponder à StorageName propriedade especificada ao injetar estado em uma granularidade.

configureOptions
Action<OptionsBuilder<MemoryGrainStorageOptions>>

O delegado de configuração.

Retornos

O construtor de silos.

Aplica-se a

AddMemoryGrainStorage(ISiloBuilder, String, Action<MemoryGrainStorageOptions>)

Origem:
MemoryGrainStorageSiloBuilderExtensions.cs
Origem:
MemoryGrainStorageSiloBuilderExtensions.cs
Origem:
MemoryGrainStorageSiloBuilderExtensions.cs
Origem:
MemoryGrainStorageSiloBuilderExtensions.cs
Origem:
MemoryGrainStorageSiloBuilderExtensions.cs

Configure o silo para usar o armazenamento de granularidade de memória.

public static Orleans.Hosting.ISiloBuilder AddMemoryGrainStorage (this Orleans.Hosting.ISiloBuilder builder, string name, Action<Orleans.Configuration.MemoryGrainStorageOptions> configureOptions);
static member AddMemoryGrainStorage : Orleans.Hosting.ISiloBuilder * string * Action<Orleans.Configuration.MemoryGrainStorageOptions> -> Orleans.Hosting.ISiloBuilder
<Extension()>
Public Function AddMemoryGrainStorage (builder As ISiloBuilder, name As String, configureOptions As Action(Of MemoryGrainStorageOptions)) As ISiloBuilder

Parâmetros

builder
ISiloBuilder

O construtor.

name
String

O nome do provedor de armazenamento. Isso deve corresponder à StorageName propriedade especificada ao injetar estado em uma granularidade.

configureOptions
Action<MemoryGrainStorageOptions>

O delegado de configuração.

Retornos

O construtor de silos.

Aplica-se a

AddMemoryGrainStorage(ISiloHostBuilder, String, Action<OptionsBuilder<MemoryGrainStorageOptions>>)

Origem:
MemoryGrainStorageSiloBuilderExtensions.cs

Configure o silo para usar o armazenamento de granularidade de memória como o armazenamento de granularidade padrão.

public static Orleans.Hosting.ISiloHostBuilder AddMemoryGrainStorage (this Orleans.Hosting.ISiloHostBuilder builder, string name, Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.MemoryGrainStorageOptions>> configureOptions = default);
static member AddMemoryGrainStorage : Orleans.Hosting.ISiloHostBuilder * string * Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.MemoryGrainStorageOptions>> -> Orleans.Hosting.ISiloHostBuilder
<Extension()>
Public Function AddMemoryGrainStorage (builder As ISiloHostBuilder, name As String, Optional configureOptions As Action(Of OptionsBuilder(Of MemoryGrainStorageOptions)) = Nothing) As ISiloHostBuilder

Parâmetros

name
String

Retornos

Aplica-se a

AddMemoryGrainStorage(ISiloHostBuilder, String, Action<MemoryGrainStorageOptions>)

Origem:
MemoryGrainStorageSiloBuilderExtensions.cs

Configure o silo para usar o armazenamento de granularidade de memória como o armazenamento de granularidade padrão.

public static Orleans.Hosting.ISiloHostBuilder AddMemoryGrainStorage (this Orleans.Hosting.ISiloHostBuilder builder, string name, Action<Orleans.Configuration.MemoryGrainStorageOptions> configureOptions);
static member AddMemoryGrainStorage : Orleans.Hosting.ISiloHostBuilder * string * Action<Orleans.Configuration.MemoryGrainStorageOptions> -> Orleans.Hosting.ISiloHostBuilder
<Extension()>
Public Function AddMemoryGrainStorage (builder As ISiloHostBuilder, name As String, configureOptions As Action(Of MemoryGrainStorageOptions)) As ISiloHostBuilder

Parâmetros

name
String
configureOptions
Action<MemoryGrainStorageOptions>

Retornos

Aplica-se a