SiloBuilderMemoryStreamExtensions.AddMemoryStreams Metodo

Definizione

Overload

AddMemoryStreams(ISiloBuilder, String, Action<ISiloMemoryStreamConfigurator>)

Configurare silo per usare i flussi di memoria usando il serializzatore di messaggi predefinito (DefaultMemoryMessageBodySerializer).

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

Configurare il silo per usare i flussi di memoria.

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

Configurare il silo per usare i flussi di memoria.

AddMemoryStreams(ISiloBuilder, String, Action<ISiloMemoryStreamConfigurator>)

Configurare silo per usare i flussi di memoria usando il serializzatore di messaggi predefinito (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

Parametri

builder
ISiloBuilder

Generatore.

name
String

Nome del provider di flusso.

configure
Action<ISiloMemoryStreamConfigurator>

Delegato di configurazione.

Restituisce

Generatore silo.

Si applica a

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

Origine:
SiloBuilderMemoryStreamExtensions.cs

Configurare il silo per usare i flussi di memoria.

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

Parametri di tipo

TSerializer

Tipo serializzatore di messaggi, che deve implementare IMemoryMessageBodySerializer.

Parametri

builder
ISiloBuilder

Generatore.

name
String

Nome del provider di flusso.

configure
Action<ISiloMemoryStreamConfigurator>

Delegato di configurazione.

Restituisce

Generatore silo.

Si applica a

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

Origine:
SiloBuilderMemoryStreamExtensions.cs

Configurare il silo per usare i flussi di memoria.

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

Parametri di tipo

TSerializer

Parametri

name
String

Restituisce

Si applica a