Поделиться через


ComponentRegistrationBridge<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 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

Тип для BotComponent моста в устаревшую версию ComponentRegistration.

Наследование
ComponentRegistrationBridge<TComponent>
Производный
Атрибуты
Реализации

Конструкторы

ComponentRegistrationBridge<TComponent>()
Устаревшие..

Инициализирует новый экземпляр класса ComponentRegistrationBridge<TComponent>.

ComponentRegistrationBridge<TComponent>(TComponent, IConfiguration)
Устаревшие..

Инициализирует новый экземпляр класса ComponentRegistrationBridge<TComponent>.

Свойства

BotComponent
Устаревшие..

Получает BotComponent мост с устаревшей версией ComponentRegistration.

Методы

GetFromComponent<TRegistration>(IServiceCollection)
Устаревшие..

Вызывает запуск в для BotComponent получения коллекции регистраций для типа TRegistration.

GetMemoryScopes()
Устаревшие..

Возвращает области памяти.

GetPathResolvers()
Устаревшие..

Возвращает перечисление pathresolvers.

Применяется к