Lingua

ComponentRegistrationBridge<TComponent> Classe

Definizione

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à
ComponentRegistrationBridge<TComponent>
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 TRegistration.

GetMemoryScopes()
Obsoleti.

Ottiene gli ambiti di memoria.

GetPathResolvers()
Obsoleti.

Enumerazione restituita di pathresolvers.

Si applica a