Langue

ComponentRegistrationBridge<TComponent> Classe

Définition

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 ComponentRegistrationBridge<TComponent> : Microsoft.Bot.Builder.ComponentRegistration, Microsoft.Bot.Builder.Dialogs.Memory.IComponentMemoryScopes, Microsoft.Bot.Builder.Dialogs.Memory.IComponentPathResolvers where TComponent : BotComponent, new()
[<System.Obsolete("This class only exists for backward compatibility of legacy `ComponentRegistrations`. Use `BotComponent` for new components.")>]
type ComponentRegistrationBridge<'Component (requires 'Component :> BotComponent and 'Component : (new : unit -> 'Component))> = class
    inherit ComponentRegistration
    interface IComponentMemoryScopes
    interface IComponentPathResolvers
Public Class ComponentRegistrationBridge(Of TComponent)
Inherits ComponentRegistration
Implements IComponentMemoryScopes, IComponentPathResolvers

Paramètres de type

TComponent

Le type de BotComponent pont vers l’héritage ComponentRegistration.

Héritage
ComponentRegistrationBridge<TComponent>
Dérivé
Attributs
Implémente

Constructeurs

Nom Description
ComponentRegistrationBridge<TComponent>()
Obsolète.

Initialise une nouvelle instance de la classe ComponentRegistrationBridge<TComponent>.

ComponentRegistrationBridge<TComponent>(TComponent, IConfiguration)
Obsolète.

Initialise une nouvelle instance de la classe ComponentRegistrationBridge<TComponent>.

Propriétés

Nom Description
BotComponent
Obsolète.

Cela BotComponent fait le pont avec l’héritage ComponentRegistration.

Méthodes

Nom Description
GetFromComponent<TRegistration>(IServiceCollection)
Obsolète.

Appels démarrés sur le BotComponent pour récupérer une collection d’enregistrements pour le type TRegistration.

GetMemoryScopes()
Obsolète.

Obtient les étendues de mémoire.

GetPathResolvers()
Obsolète.

Retourne l’énumération des pathresolvers.

S’applique à