ComponentRegistrationBridge<TComponent> Classe
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Attenzione
This class only exists for backward compatibility of legacy ComponentRegistrations. Use BotComponent for new components.
Classe bridge per permettere BotComponent la retrocompatibilità con 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
Parametri di tipo
- TComponent
Il tipo di BotComponent ponte verso l'eredità ComponentRegistration.
- Ereditarietà
- Derivato
- Attributi
- Implementazioni
Costruttori
| Nome | Descrizione |
|---|---|
| ComponentRegistrationBridge<TComponent>() |
Obsoleti.
Inizializza una nuova istanza della classe ComponentRegistrationBridge<TComponent>. |
| ComponentRegistrationBridge<TComponent>(TComponent, IConfiguration) |
Obsoleti.
Inizializza una nuova istanza della classe ComponentRegistrationBridge<TComponent>. |
Proprietà
| Nome | Descrizione |
|---|---|
| BotComponent |
Obsoleti.
Va BotComponent collegato all'eredità ComponentRegistration. |
Metodi
| Nome | Descrizione |
|---|---|
| GetFromComponent<TRegistration>(IServiceCollection) |
Obsoleti.
Chiamate avvio su per BotComponent recuperare una collezione di registrazioni per il tipo |
| GetMemoryScopes() |
Obsoleti.
Ottiene gli ambiti di memoria. |
| GetPathResolvers() |
Obsoleti.
Enumerazione restituita di pathresolvers. |