ComponentRegistrationBridge<TComponent> クラス

定義

注意事項

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

との下位互換性ComponentRegistrationを確保するためのBotComponentブリッジ クラス。

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

型パラメーター

TComponent

レガシ ComponentRegistrationにブリッジする のBotComponent型。

継承
ComponentRegistrationBridge<TComponent>
派生
属性
実装

コンストラクター

ComponentRegistrationBridge<TComponent>()
古い.

ComponentRegistrationBridge<TComponent> クラスの新しいインスタンスを初期化します。

ComponentRegistrationBridge<TComponent>(TComponent, IConfiguration)
古い.

ComponentRegistrationBridge<TComponent> クラスの新しいインスタンスを初期化します。

プロパティ

BotComponent
古い.

レガシ ComponentRegistrationにブリッジされる を取得BotComponentします。

メソッド

GetFromComponent<TRegistration>(IServiceCollection)
古い.

のスタートアップを BotComponent 呼び出して、 型の登録のコレクションを取得します TRegistration

GetMemoryScopes()
古い.

メモリ スコープを取得します。

GetPathResolvers()
古い.

pathresolvers の列挙を返します。

適用対象