MemoryAdapterFactory<TSerializer>.Create Method

Definition

Creates a new MemoryAdapterFactory<TSerializer> instance.

public static Orleans.Providers.MemoryAdapterFactory<TSerializer> Create (IServiceProvider services, string name);
static member Create : IServiceProvider * string -> Orleans.Providers.MemoryAdapterFactory<'Serializer (requires 'Serializer : null and 'Serializer :> Orleans.Providers.IMemoryMessageBodySerializer)>
Public Shared Function Create (services As IServiceProvider, name As String) As MemoryAdapterFactory(Of TSerializer)

Parameters

services
IServiceProvider

The services.

name
String

The provider name.

Returns

A mew MemoryAdapterFactory<TSerializer> instance.

Applies to