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
Тип для BotComponent моста в устаревшую версию ComponentRegistration.
- Наследование
-
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 получения коллекции регистраций для типа |
GetMemoryScopes() |
Устаревшие..
Возвращает области памяти. (Унаследовано от ComponentRegistrationBridge<TComponent>) |
GetPathResolvers() |
Устаревшие..
Возвращает перечисление pathresolvers. (Унаследовано от ComponentRegistrationBridge<TComponent>) |