Idioma

ComponentRegistrationBridge<TComponent> Classe

Definição

Cuidado

This class only exists for backward compatibility of legacy ComponentRegistrations. Use BotComponent for new components.

Classe ponte para permitir BotComponent que seja compatível com versões retroativas com 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

Parâmetros de tipo

TComponent

O tipo de BotComponent que se faz a ponte para o legado ComponentRegistration.

Herança
ComponentRegistrationBridge<TComponent>
Derivado
Atributos
Implementações

Construtores

Nome Description
ComponentRegistrationBridge<TComponent>()
Obsoleto.

Inicializa uma nova instância da classe ComponentRegistrationBridge<TComponent>.

ComponentRegistrationBridge<TComponent>(TComponent, IConfiguration)
Obsoleto.

Inicializa uma nova instância da classe ComponentRegistrationBridge<TComponent>.

Propriedades

Nome Description
BotComponent
Obsoleto.

Pode BotComponent ser ligado ao legado ComponentRegistration.

Métodos

Nome Description
GetFromComponent<TRegistration>(IServiceCollection)
Obsoleto.

Chamadas iniciando no BotComponent para recuperar uma coleção de registros para o tipo TRegistration.

GetMemoryScopes()
Obsoleto.

Obtém os escopos de memória.

GetPathResolvers()
Obsoleto.

Retornar enumeração de pathresolvers.

Aplica-se a