Freigeben über


SiloBuilderMemoryStreamExtensions.AddMemoryStreams Methode

Definition

Überlädt

AddMemoryStreams(ISiloBuilder, String, Action<ISiloMemoryStreamConfigurator>)

Konfigurieren Sie das Silo für die Verwendung von Speicherdatenströmen mithilfe des Standardmäßigen Nachrichtenserialisierungsprogramms (DefaultMemoryMessageBodySerializer).

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

Konfigurieren Des Silos für die Verwendung von Speicherdatenströmen.

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

Konfigurieren Des Silos für die Verwendung von Speicherdatenströmen.

AddMemoryStreams(ISiloBuilder, String, Action<ISiloMemoryStreamConfigurator>)

Konfigurieren Sie das Silo für die Verwendung von Speicherdatenströmen mithilfe des Standardmäßigen Nachrichtenserialisierungsprogramms (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

Parameter

builder
ISiloBuilder

Der Generator.

name
String

Der Name des Streamanbieters.

configure
Action<ISiloMemoryStreamConfigurator>

Der Konfigurationsdelegat.

Gibt zurück

Der Silo-Generator.

Gilt für:

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

Quelle:
SiloBuilderMemoryStreamExtensions.cs

Konfigurieren Des Silos für die Verwendung von Speicherdatenströmen.

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

Typparameter

TSerializer

Der Nachrichtenserialisierungstyp, der implementieren IMemoryMessageBodySerializermuss.

Parameter

builder
ISiloBuilder

Der Generator.

name
String

Der Name des Streamanbieters.

configure
Action<ISiloMemoryStreamConfigurator>

Der Konfigurationsdelegat.

Gibt zurück

Der Silo-Generator.

Gilt für:

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

Quelle:
SiloBuilderMemoryStreamExtensions.cs

Konfigurieren Des Silos für die Verwendung von Speicherdatenströmen.

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

Typparameter

TSerializer

Parameter

name
String

Gibt zurück

Gilt für: