Condividi tramite


MemoryGrainStorageSiloBuilderExtensions.AddMemoryGrainStorage Metodo

Definizione

Overload

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

Configurare silo per usare l'archiviazione granulare della memoria.

AddMemoryGrainStorage(ISiloBuilder, String, Action<MemoryGrainStorageOptions>)

Configurare silo per usare l'archiviazione granulare della memoria.

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

Configurare silo per usare l'archiviazione granulare della memoria come archiviazione granulare predefinita.

AddMemoryGrainStorage(ISiloHostBuilder, String, Action<MemoryGrainStorageOptions>)

Configurare silo per usare l'archiviazione granulare della memoria come archiviazione granulare predefinita.

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

Origine:
MemoryGrainStorageSiloBuilderExtensions.cs
Origine:
MemoryGrainStorageSiloBuilderExtensions.cs
Origine:
MemoryGrainStorageSiloBuilderExtensions.cs
Origine:
MemoryGrainStorageSiloBuilderExtensions.cs
Origine:
MemoryGrainStorageSiloBuilderExtensions.cs

Configurare silo per usare l'archiviazione granulare della memoria.

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

Parametri

builder
ISiloBuilder

Generatore.

name
String

Nome del provider di archiviazione. Deve corrispondere alla proprietà specificata durante l'inserimento dello StorageName stato in una granularità.

configureOptions
Action<OptionsBuilder<MemoryGrainStorageOptions>>

Delegato di configurazione.

Restituisce

Generatore silo.

Si applica a

AddMemoryGrainStorage(ISiloBuilder, String, Action<MemoryGrainStorageOptions>)

Origine:
MemoryGrainStorageSiloBuilderExtensions.cs
Origine:
MemoryGrainStorageSiloBuilderExtensions.cs
Origine:
MemoryGrainStorageSiloBuilderExtensions.cs
Origine:
MemoryGrainStorageSiloBuilderExtensions.cs
Origine:
MemoryGrainStorageSiloBuilderExtensions.cs

Configurare silo per usare l'archiviazione granulare della memoria.

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

Parametri

builder
ISiloBuilder

Generatore.

name
String

Nome del provider di archiviazione. Deve corrispondere alla proprietà specificata durante l'inserimento dello StorageName stato in una granularità.

configureOptions
Action<MemoryGrainStorageOptions>

Delegato di configurazione.

Restituisce

Generatore silo.

Si applica a

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

Origine:
MemoryGrainStorageSiloBuilderExtensions.cs

Configurare silo per usare l'archiviazione granulare della memoria come archiviazione granulare predefinita.

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

Parametri

name
String

Restituisce

Si applica a

AddMemoryGrainStorage(ISiloHostBuilder, String, Action<MemoryGrainStorageOptions>)

Origine:
MemoryGrainStorageSiloBuilderExtensions.cs

Configurare silo per usare l'archiviazione granulare della memoria come archiviazione granulare predefinita.

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

Parametri

name
String
configureOptions
Action<MemoryGrainStorageOptions>

Restituisce

Si applica a