共用方式為


DeclarativeComponentRegistrationBridge<TComponent> 建構函式

定義

多載

DeclarativeComponentRegistrationBridge<TComponent>()

初始化 DeclarativeComponentRegistrationBridge<TComponent> 類別的新執行個體。

DeclarativeComponentRegistrationBridge<TComponent>(TComponent, IConfiguration)

初始化 DeclarativeComponentRegistrationBridge<TComponent> 類別的新執行個體。

DeclarativeComponentRegistrationBridge<TComponent>()

初始化 DeclarativeComponentRegistrationBridge<TComponent> 類別的新執行個體。

public DeclarativeComponentRegistrationBridge ();
Public Sub New ()

適用於

DeclarativeComponentRegistrationBridge<TComponent>(TComponent, IConfiguration)

初始化 DeclarativeComponentRegistrationBridge<TComponent> 類別的新執行個體。

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

適用於