Edit

Share via


SiloMemoryStreamConfigurator<TSerializer> Constructors

Definition

Overloads

SiloMemoryStreamConfigurator<TSerializer>(String, Action<Action<IServiceCollection>>)

Initializes a new instance of the SiloMemoryStreamConfigurator<TSerializer> class.

SiloMemoryStreamConfigurator<TSerializer>(String, Action<Action<IServiceCollection>>, Action<Action<IApplicationPartManager>>)

SiloMemoryStreamConfigurator<TSerializer>(String, Action<Action<IServiceCollection>>)

Initializes a new instance of the SiloMemoryStreamConfigurator<TSerializer> class.

public SiloMemoryStreamConfigurator (string name, Action<Action<Microsoft.Extensions.DependencyInjection.IServiceCollection>> configureServicesDelegate);
new Orleans.Hosting.SiloMemoryStreamConfigurator<'Serializer (requires 'Serializer : null and 'Serializer :> Orleans.Providers.IMemoryMessageBodySerializer)> : string * Action<Action<Microsoft.Extensions.DependencyInjection.IServiceCollection>> -> Orleans.Hosting.SiloMemoryStreamConfigurator<'Serializer (requires 'Serializer : null and 'Serializer :> Orleans.Providers.IMemoryMessageBodySerializer)>
Public Sub New (name As String, configureServicesDelegate As Action(Of Action(Of IServiceCollection)))

Parameters

name
String

The stream provider name.

configureServicesDelegate
Action<Action<IServiceCollection>>

The services configuration delegate.

Applies to

SiloMemoryStreamConfigurator<TSerializer>(String, Action<Action<IServiceCollection>>, Action<Action<IApplicationPartManager>>)

Source:
MemoryStreamBuilder.cs
public SiloMemoryStreamConfigurator (string name, Action<Action<Microsoft.Extensions.DependencyInjection.IServiceCollection>> configureServicesDelegate, Action<Action<Orleans.ApplicationParts.IApplicationPartManager>> configureAppPartsDelegate);
new Orleans.Hosting.SiloMemoryStreamConfigurator<'Serializer (requires 'Serializer : null and 'Serializer :> Orleans.Providers.IMemoryMessageBodySerializer)> : string * Action<Action<Microsoft.Extensions.DependencyInjection.IServiceCollection>> * Action<Action<Orleans.ApplicationParts.IApplicationPartManager>> -> Orleans.Hosting.SiloMemoryStreamConfigurator<'Serializer (requires 'Serializer : null and 'Serializer :> Orleans.Providers.IMemoryMessageBodySerializer)>
Public Sub New (name As String, configureServicesDelegate As Action(Of Action(Of IServiceCollection)), configureAppPartsDelegate As Action(Of Action(Of IApplicationPartManager)))

Parameters

name
String
configureServicesDelegate
Action<Action<IServiceCollection>>
configureAppPartsDelegate
Action<Action<IApplicationPartManager>>

Applies to