共用方式為


DeclarativeComponentRegistrationBridge<TComponent> 類別

定義

警告

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

Bridge 類別,允許 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

要橋接至舊版 ComponentRegistrationBotComponent 型別。

繼承
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 = > Type 的列舉。

GetFromComponent<TRegistration>(IServiceCollection)
已淘汰.

在 上 BotComponent 呼叫 啟動,以擷取 型 TRegistration 別 的註冊集合。

(繼承來源 ComponentRegistrationBridge<TComponent>)
GetMemoryScopes()
已淘汰.

取得記憶體範圍。

(繼承來源 ComponentRegistrationBridge<TComponent>)
GetPathResolvers()
已淘汰.

傳回 pathresolvers 的列舉。

(繼承來源 ComponentRegistrationBridge<TComponent>)

適用於