ComponentRegistrationBridge<TComponent> 构造函数

定义

重载

ComponentRegistrationBridge<TComponent>()

初始化 ComponentRegistrationBridge<TComponent> 类的新实例。

ComponentRegistrationBridge<TComponent>(TComponent, IConfiguration)

初始化 ComponentRegistrationBridge<TComponent> 类的新实例。

ComponentRegistrationBridge<TComponent>()

初始化 ComponentRegistrationBridge<TComponent> 类的新实例。

public ComponentRegistrationBridge();
Public Sub New ()

适用于

ComponentRegistrationBridge<TComponent>(TComponent, IConfiguration)

初始化 ComponentRegistrationBridge<TComponent> 类的新实例。

public ComponentRegistrationBridge(TComponent botComponent, Microsoft.Extensions.Configuration.IConfiguration configuration = default);
new Microsoft.Bot.Builder.Dialogs.Obsolete.ComponentRegistrationBridge<'Component (requires 'Component :> Microsoft.Bot.Builder.BotComponent and 'Component : (new : unit -> 'Component))> : 'Component * Microsoft.Extensions.Configuration.IConfiguration -> Microsoft.Bot.Builder.Dialogs.Obsolete.ComponentRegistrationBridge<'Component (requires 'Component :> Microsoft.Bot.Builder.BotComponent and 'Component : (new : unit -> 'Component))>
Public Sub New (botComponent As TComponent, Optional configuration As IConfiguration = Nothing)

参数

botComponent
TComponent

BotComponent 以旧版 ComponentRegistration的形式公开。

configuration
IConfiguration

目标 BotComponent的可选IConfiguration

适用于