Język

DeclarativeComponentRegistrationBridge<TComponent> Klasa

Definicja

Uwaga

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

Klasa mostka, aby umożliwić BotComponent wsteczną zgodność z .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

Rodzaj mostu BotComponent do przejścia do legacy ComponentRegistration.

Dziedziczenie
DeclarativeComponentRegistrationBridge<TComponent>
Pochodne
Atrybuty
Implementuje

Konstruktory

Nazwa Opis
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

Nazwa Opis
BotComponent
Przestarzałe.

To BotComponent jest mostem do dziedzictwa ComponentRegistration.

(Odziedziczone po ComponentRegistrationBridge<TComponent>)

Metody

Nazwa Opis
GetConverters(ResourceExplorer, SourceContext)
Przestarzałe.

Zwróć listę konwerterów JsonConverters wspierających ładowanie typów deklaratywnych.

GetDeclarativeTypes(ResourceExplorer)
Przestarzałe.

Zwróć wyliczenie KindRegistrations $kind => Type.

GetFromComponent<TRegistration>(IServiceCollection)
Przestarzałe.

Dzwoni do uruchomienia w BotComponent celu pobrania zbioru rejestracji dla typu TRegistration.

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

Dostaje teleskopy pamięci.

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

Zwróć wyliczanie pathresolverów.

(Odziedziczone po ComponentRegistrationBridge<TComponent>)

Dotyczy