NamedServiceConfigurator 构造函数

定义

初始化 NamedServiceConfigurator 类的新实例。

public NamedServiceConfigurator (string name, Action<Action<Microsoft.Extensions.DependencyInjection.IServiceCollection>> configureDelegate);
new Orleans.Hosting.NamedServiceConfigurator : string * Action<Action<Microsoft.Extensions.DependencyInjection.IServiceCollection>> -> Orleans.Hosting.NamedServiceConfigurator
Public Sub New (name As String, configureDelegate As Action(Of Action(Of IServiceCollection)))

参数

name
String

名称。

configureDelegate
Action<Action<IServiceCollection>>

配置委托。

适用于