SiloBuilderExtensions.AddMemoryStreams 方法

定义

重载

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

将接收器配置为使用内存流。

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

将接收器配置为使用内存流。

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

将接收器配置为使用内存流。

public static Orleans.Hosting.ISiloBuilder AddMemoryStreams<TSerializer> (this Orleans.Hosting.ISiloBuilder builder, string name, Action<Orleans.Providers.SiloMemoryStreamConfigurator<TSerializer>> configure = default) where TSerializer : class, Orleans.Providers.IMemoryMessageBodySerializer;
static member AddMemoryStreams : Orleans.Hosting.ISiloBuilder * string * Action<Orleans.Providers.SiloMemoryStreamConfigurator<'Serializer>> -> 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 SiloMemoryStreamConfigurator(Of TSerializer)) = Nothing) As ISiloBuilder

类型参数

TSerializer

参数

builder
ISiloBuilder
name
String
configure
Action<SiloMemoryStreamConfigurator<TSerializer>>

适用于

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

将接收器配置为使用内存流。

public static Orleans.Hosting.ISiloHostBuilder AddMemoryStreams<TSerializer> (this Orleans.Hosting.ISiloHostBuilder builder, string name, Action<Orleans.Providers.SiloMemoryStreamConfigurator<TSerializer>> configure = default) where TSerializer : class, Orleans.Providers.IMemoryMessageBodySerializer;
static member AddMemoryStreams : Orleans.Hosting.ISiloHostBuilder * string * Action<Orleans.Providers.SiloMemoryStreamConfigurator<'Serializer>> -> 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 SiloMemoryStreamConfigurator(Of TSerializer)) = Nothing) As ISiloHostBuilder

类型参数

TSerializer

参数

name
String
configure
Action<SiloMemoryStreamConfigurator<TSerializer>>

适用于