DeclarativeComponentRegistrationBridge<TComponent> 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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。