DeclarativeComponentRegistrationBridge<TComponent> Classe
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Attention
This class only exists for backward compatibility of legacy ComponentRegistrations. Use BotComponent for new components.
Classe pont pour permettre BotComponent d’être rétrocompatible avec 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
Paramètres de type
- TComponent
Le type de BotComponent pont vers l’héritage ComponentRegistration.
- Héritage
-
DeclarativeComponentRegistrationBridge<TComponent>
- Dérivé
- Attributs
- Implémente
Constructeurs
| Nom | Description |
|---|---|
| DeclarativeComponentRegistrationBridge<TComponent>() |
Obsolète.
Initialise une nouvelle instance de la classe DeclarativeComponentRegistrationBridge<TComponent>. |
| DeclarativeComponentRegistrationBridge<TComponent>(TComponent, IConfiguration) |
Obsolète.
Initialise une nouvelle instance de la classe DeclarativeComponentRegistrationBridge<TComponent>. |
Propriétés
| Nom | Description |
|---|---|
| BotComponent |
Obsolète.
Cela BotComponent fait le pont avec l’héritage ComponentRegistration. (Hérité de ComponentRegistrationBridge<TComponent>) |
Méthodes
| Nom | Description |
|---|---|
| GetConverters(ResourceExplorer, SourceContext) |
Obsolète.
Retourner une énumération des JsonConverters pour supporter le chargement des types déclaratifs. |
| GetDeclarativeTypes(ResourceExplorer) |
Obsolète.
Retourner une énumération des KindRegistrations $kind => Type. |
| GetFromComponent<TRegistration>(IServiceCollection) |
Obsolète.
Appels démarrés sur le BotComponent pour récupérer une collection d’enregistrements pour le type |
| GetMemoryScopes() |
Obsolète.
Obtient les étendues de mémoire. (Hérité de ComponentRegistrationBridge<TComponent>) |
| GetPathResolvers() |
Obsolète.
Retourne l’énumération des pathresolvers. (Hérité de ComponentRegistrationBridge<TComponent>) |