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 consentire BotComponent la compatibilità con le versioni precedenti 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
Tipo di BotComponent da collegare all'oggetto legacy ComponentRegistration.
- Ereditarietà
- Derivato
- Attributi
- Implementazioni
Costruttori
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à
BotComponent |
Obsoleti.
Ottiene BotComponent il bridge all'legacy ComponentRegistration. |
Metodi
GetFromComponent<TRegistration>(IServiceCollection) |
Obsoleti.
Chiama l'avvio nell'oggetto BotComponent per recuperare una raccolta di registrazioni per il tipo |
GetMemoryScopes() |
Obsoleti.
Ottiene gli ambiti di memoria. |
GetPathResolvers() |
Obsoleti.
Enumerazione restituita di pathresolvers. |