Udostępnij za pośrednictwem


DeclarativeComponentRegistrationBridge<TComponent> Klasa

Definicja

Przestroga

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

Klasa mostka umożliwiająca BotComponent zgodność z poprzednimi wersjami za pomocą polecenia 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

Parametry typu

TComponent

Typ mostka do starszej BotComponent wersji ComponentRegistration.

Dziedziczenie
DeclarativeComponentRegistrationBridge<TComponent>
Pochodne
Atrybuty
Implementuje

Konstruktory

DeclarativeComponentRegistrationBridge<TComponent>()
Przestarzałe.

Inicjuje nowe wystąpienie klasy DeclarativeComponentRegistrationBridge<TComponent>.

DeclarativeComponentRegistrationBridge<TComponent>(TComponent, IConfiguration)
Przestarzałe.

Inicjuje nowe wystąpienie klasy DeclarativeComponentRegistrationBridge<TComponent>.

Właściwości

BotComponent
Przestarzałe.

Dostaje BotComponent się mostek do starszej wersji ComponentRegistration.

(Odziedziczone po ComponentRegistrationBridge<TComponent>)

Metody

GetConverters(ResourceExplorer, SourceContext)
Przestarzałe.

Zwróć wyliczenie kodu JsonConverters do obsługi typów deklaratywnych ładowania.

GetDeclarativeTypes(ResourceExplorer)
Przestarzałe.

Zwróć wyliczenie klasy KindRegistrations $kind => Typ.

GetFromComponent<TRegistration>(IServiceCollection)
Przestarzałe.

Wywołuje uruchamianie elementu , BotComponent aby pobrać kolekcję rejestracji dla typu TRegistration.

(Odziedziczone po ComponentRegistrationBridge<TComponent>)
GetMemoryScopes()
Przestarzałe.

Pobiera zakresy pamięci.

(Odziedziczone po ComponentRegistrationBridge<TComponent>)
GetPathResolvers()
Przestarzałe.

Zwracanie wyliczenia pathresolvers.

(Odziedziczone po ComponentRegistrationBridge<TComponent>)

Dotyczy