MemoryAdapterFactory<TSerializer>.Create 方法

定义

创建一个新的 MemoryAdapterFactory<TSerializer> 实例。

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)

参数

services
IServiceProvider

服务。

name
String

提供程序名称。

返回

mew MemoryAdapterFactory<TSerializer> 实例。

适用于