DeclarativeComponentRegistrationBridge<TComponent> 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
This class only exists for backward compatibility of legacy ComponentRegistrations
. Use BotComponent
for new components.
用于允许 BotComponent 向 ComponentRegistration后兼容的 Bridge 类。
[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>
- 派生
- 属性
- 实现
构造函数
属性
BotComponent |
已过时.
获取 BotComponent 要桥接到旧版 ComponentRegistration的 。 (继承自 ComponentRegistrationBridge<TComponent>) |
方法
GetConverters(ResourceExplorer, SourceContext) |
已过时.
返回 JsonConverters 的枚举,以支持加载声明性类型。 |
GetDeclarativeTypes(ResourceExplorer) |
已过时.
返回 KindRegistrations $kind => Type 的枚举。 |
GetFromComponent<TRegistration>(IServiceCollection) |
已过时.
调用 上的 BotComponent 启动以检索类型 |
GetMemoryScopes() |
已过时.
获取内存范围。 (继承自 ComponentRegistrationBridge<TComponent>) |
GetPathResolvers() |
已过时.
返回 pathresolvers 的枚举。 (继承自 ComponentRegistrationBridge<TComponent>) |