Dela via


DeclarativeComponentRegistrationBridge<TComponent> Klass

Definition

Varning

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

Bridge-klass för att tillåta BotComponent att vara bakåtkompatibel med 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

Typparametrar

TComponent

Typen av BotComponent att brygga till äldre ComponentRegistration.

Arv
DeclarativeComponentRegistrationBridge<TComponent>
Härledda
Attribut
Implementeringar

Konstruktorer

DeclarativeComponentRegistrationBridge<TComponent>()
Föråldrad.

Initierar en ny instans av DeclarativeComponentRegistrationBridge<TComponent> klassen.

DeclarativeComponentRegistrationBridge<TComponent>(TComponent, IConfiguration)
Föråldrad.

Initierar en ny instans av DeclarativeComponentRegistrationBridge<TComponent> klassen.

Egenskaper

BotComponent
Föråldrad.

Kommer BotComponent att bryggas till det äldre ComponentRegistration.

(Ärvd från ComponentRegistrationBridge<TComponent>)

Metoder

GetConverters(ResourceExplorer, SourceContext)
Föråldrad.

Returnera en uppräkning av JsonConverters för att stödja inläsning av deklarativa typer.

GetDeclarativeTypes(ResourceExplorer)
Föråldrad.

Returnera en uppräkning av KindRegistrations $kind => Typ.

GetFromComponent<TRegistration>(IServiceCollection)
Föråldrad.

Anropar start på BotComponent för att hämta en samling registreringar för typen TRegistration.

(Ärvd från ComponentRegistrationBridge<TComponent>)
GetMemoryScopes()
Föråldrad.

Hämtar minnesomfattningarna.

(Ärvd från ComponentRegistrationBridge<TComponent>)
GetPathResolvers()
Föråldrad.

Returnera uppräkning av pathresolvers.

(Ärvd från ComponentRegistrationBridge<TComponent>)

Gäller för