语言

DeclarativeComponentRegistrationBridge<TComponent> 类

定义

注意

This class only exists for backward compatibility of legacy ComponentRegistrations. Use BotComponent for new components.

桥接类以便向下BotComponent兼容。ComponentRegistration

[System.Obsolete("This class only exists for backward compatibility of legacy `ComponentRegistrations`. Use `BotComponent` for new components.")]
public class DeclarativeComponentRegistrationBridge<TComponent> : Microsoft.Bot.Builder.Dialogs.Obsolete.ComponentRegistrationBridge<TComponent>, Microsoft.Bot.Builder.Dialogs.Declarative.IComponentDeclarativeTypes where TComponent : BotComponent, new()
[<System.Obsolete("This class only exists for backward compatibility of legacy `ComponentRegistrations`. Use `BotComponent` for new components.")>]
type DeclarativeComponentRegistrationBridge<'Component (requires 'Component :> BotComponent and 'Component : (new : unit -> 'Component))> = class
    inherit ComponentRegistrationBridge<'Component (requires 'Component :> BotComponent and 'Component : (new : unit -> 'Component))>
    interface IComponentDeclarativeTypes
Public Class DeclarativeComponentRegistrationBridge(Of TComponent)
Inherits ComponentRegistrationBridge(Of TComponent)
Implements IComponentDeclarativeTypes

类型参数

TComponent

那种连接传统ComponentRegistration品牌的类型BotComponent。

继承
DeclarativeComponentRegistrationBridge<TComponent>
派生
属性
实现

构造函数

名称 说明
DeclarativeComponentRegistrationBridge<TComponent>()
已过时.

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

DeclarativeComponentRegistrationBridge<TComponent>(TComponent, IConfiguration)
已过时.

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

属性

名称 说明
BotComponent
已过时.

可以 BotComponent 与遗产 ComponentRegistration连接。

(继承自 ComponentRegistrationBridge<TComponent>)

方法

名称 说明
GetConverters(ResourceExplorer, SourceContext)
已过时.

返回支持加载声明型的 JsonConverters 枚举。

GetDeclarativeTypes(ResourceExplorer)
已过时.

返回 KindRegistrations 枚举 $kind => 类型。

GetFromComponent<TRegistration>(IServiceCollection)
已过时.

调用 启动 以 BotComponent 获取类型 TRegistration的注册集合。

(继承自 ComponentRegistrationBridge<TComponent>)
GetMemoryScopes()
已过时.

获取内存范围。

(继承自 ComponentRegistrationBridge<TComponent>)
GetPathResolvers()
已过时.

返回 pathresolvers 的枚举。

(继承自 ComponentRegistrationBridge<TComponent>)

适用于