DeclarativeComponentRegistrationBridge<TComponent> Klass
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
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 |
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>) |