Partager via


SiloBuilderMemoryStreamExtensions.AddMemoryStreams Méthode

Définition

Surcharges

AddMemoryStreams(ISiloBuilder, String, Action<ISiloMemoryStreamConfigurator>)

Configurez le silo pour utiliser des flux de mémoire à l’aide du sérialiseur de messages par défaut (DefaultMemoryMessageBodySerializer).

AddMemoryStreams<TSerializer>(ISiloBuilder, String, Action<ISiloMemoryStreamConfigurator>)

Configurez le silo pour utiliser des flux de mémoire.

AddMemoryStreams<TSerializer>(ISiloHostBuilder, String, Action<ISiloMemoryStreamConfigurator>)

Configurez le silo pour utiliser des flux de mémoire.

AddMemoryStreams(ISiloBuilder, String, Action<ISiloMemoryStreamConfigurator>)

Configurez le silo pour utiliser des flux de mémoire à l’aide du sérialiseur de messages par défaut (DefaultMemoryMessageBodySerializer).

public static Orleans.Hosting.ISiloBuilder AddMemoryStreams (this Orleans.Hosting.ISiloBuilder builder, string name, Action<Orleans.Hosting.ISiloMemoryStreamConfigurator> configure = default);
static member AddMemoryStreams : Orleans.Hosting.ISiloBuilder * string * Action<Orleans.Hosting.ISiloMemoryStreamConfigurator> -> Orleans.Hosting.ISiloBuilder
<Extension()>
Public Function AddMemoryStreams (builder As ISiloBuilder, name As String, Optional configure As Action(Of ISiloMemoryStreamConfigurator) = Nothing) As ISiloBuilder

Paramètres

builder
ISiloBuilder

Générateur.

name
String

Nom du fournisseur de flux.

configure
Action<ISiloMemoryStreamConfigurator>

Délégué de configuration.

Retours

Générateur de silo.

S’applique à

AddMemoryStreams<TSerializer>(ISiloBuilder, String, Action<ISiloMemoryStreamConfigurator>)

Source:
SiloBuilderMemoryStreamExtensions.cs

Configurez le silo pour utiliser des flux de mémoire.

public static Orleans.Hosting.ISiloBuilder AddMemoryStreams<TSerializer> (this Orleans.Hosting.ISiloBuilder builder, string name, Action<Orleans.Hosting.ISiloMemoryStreamConfigurator> configure = default) where TSerializer : class, Orleans.Providers.IMemoryMessageBodySerializer;
static member AddMemoryStreams : Orleans.Hosting.ISiloBuilder * string * Action<Orleans.Hosting.ISiloMemoryStreamConfigurator> -> Orleans.Hosting.ISiloBuilder (requires 'Serializer : null and 'Serializer :> Orleans.Providers.IMemoryMessageBodySerializer)
<Extension()>
Public Function AddMemoryStreams(Of TSerializer As {Class, IMemoryMessageBodySerializer}) (builder As ISiloBuilder, name As String, Optional configure As Action(Of ISiloMemoryStreamConfigurator) = Nothing) As ISiloBuilder

Paramètres de type

TSerializer

Type sérialiseur de message, qui doit implémenter IMemoryMessageBodySerializer.

Paramètres

builder
ISiloBuilder

Générateur.

name
String

Nom du fournisseur de flux.

configure
Action<ISiloMemoryStreamConfigurator>

Délégué de configuration.

Retours

Générateur de silo.

S’applique à

AddMemoryStreams<TSerializer>(ISiloHostBuilder, String, Action<ISiloMemoryStreamConfigurator>)

Source:
SiloBuilderMemoryStreamExtensions.cs

Configurez le silo pour utiliser des flux de mémoire.

public static Orleans.Hosting.ISiloHostBuilder AddMemoryStreams<TSerializer> (this Orleans.Hosting.ISiloHostBuilder builder, string name, Action<Orleans.Hosting.ISiloMemoryStreamConfigurator> configure = default) where TSerializer : class, Orleans.Providers.IMemoryMessageBodySerializer;
static member AddMemoryStreams : Orleans.Hosting.ISiloHostBuilder * string * Action<Orleans.Hosting.ISiloMemoryStreamConfigurator> -> Orleans.Hosting.ISiloHostBuilder (requires 'Serializer : null and 'Serializer :> Orleans.Providers.IMemoryMessageBodySerializer)
<Extension()>
Public Function AddMemoryStreams(Of TSerializer As {Class, IMemoryMessageBodySerializer}) (builder As ISiloHostBuilder, name As String, Optional configure As Action(Of ISiloMemoryStreamConfigurator) = Nothing) As ISiloHostBuilder

Paramètres de type

TSerializer

Paramètres

name
String

Retours

S’applique à