DeclarativeComponentRegistrationBridge<TComponent> 构造函数

定义

重载

DeclarativeComponentRegistrationBridge<TComponent>()

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

DeclarativeComponentRegistrationBridge<TComponent>(TComponent, IConfiguration)

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

DeclarativeComponentRegistrationBridge<TComponent>()

public DeclarativeComponentRegistrationBridge ();
Public Sub New ()

适用于

DeclarativeComponentRegistrationBridge<TComponent>(TComponent, IConfiguration)

public DeclarativeComponentRegistrationBridge (TComponent botComponent, Microsoft.Extensions.Configuration.IConfiguration configuration = default);
new Microsoft.Bot.Builder.Dialogs.Declarative.Obsolete.DeclarativeComponentRegistrationBridge<'Component (requires 'Component :> Microsoft.Bot.Builder.BotComponent and 'Component : (new : unit -> 'Component))> : 'Component * Microsoft.Extensions.Configuration.IConfiguration -> Microsoft.Bot.Builder.Dialogs.Declarative.Obsolete.DeclarativeComponentRegistrationBridge<'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

适用于