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>(TComponent, IConfiguration) |
Устаревшие..
Инициализирует новый экземпляр класса ComponentRegistrationBridge<TComponent>. |
Свойства
BotComponent |
Устаревшие..
Получает BotComponent мост с устаревшей версией ComponentRegistration. |
Методы
GetFromComponent<TRegistration>(IServiceCollection) |
Устаревшие..
Вызывает запуск в для BotComponent получения коллекции регистраций для типа |
GetMemoryScopes() |
Устаревшие..
Возвращает области памяти. |
GetPathResolvers() |
Устаревшие..
Возвращает перечисление pathresolvers. |