Compartilhar via


SiloBuilderMemoryStreamExtensions.AddMemoryStreams Método

Definição

Sobrecargas

AddMemoryStreams(ISiloBuilder, String, Action<ISiloMemoryStreamConfigurator>)

Configure o silo para usar fluxos de memória usando o serializador de mensagens padrão (DefaultMemoryMessageBodySerializer).

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

Configure o silo para usar fluxos de memória.

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

Configure o silo para usar fluxos de memória.

AddMemoryStreams(ISiloBuilder, String, Action<ISiloMemoryStreamConfigurator>)

Configure o silo para usar fluxos de memória usando o serializador de mensagens padrão (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

Parâmetros

builder
ISiloBuilder

O construtor.

name
String

O nome do provedor de fluxo.

configure
Action<ISiloMemoryStreamConfigurator>

O delegado de configuração.

Retornos

O construtor de silos.

Aplica-se a

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

Origem:
SiloBuilderMemoryStreamExtensions.cs

Configure o silo para usar fluxos de memória.

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

Parâmetros de tipo

TSerializer

O tipo de serializador de mensagem, que deve implementar IMemoryMessageBodySerializer.

Parâmetros

builder
ISiloBuilder

O construtor.

name
String

O nome do provedor de fluxo.

configure
Action<ISiloMemoryStreamConfigurator>

O delegado de configuração.

Retornos

O construtor de silos.

Aplica-se a

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

Origem:
SiloBuilderMemoryStreamExtensions.cs

Configure o silo para usar fluxos de memória.

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

Parâmetros de tipo

TSerializer

Parâmetros

name
String

Retornos

Aplica-se a