ComponentRegistrationBridge<TComponent> Clase

Definición

Precaución

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

Clase puente para permitir BotComponent que sea compatible hacia atrás 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

Parámetros de tipo

TComponent

El tipo de BotComponent puente hacia legado ComponentRegistration.

Herencia
ComponentRegistrationBridge<TComponent>
Derivado
Atributos
Implementaciones

Constructores

Nombre Description
ComponentRegistrationBridge<TComponent>()
Obsoletos.

Inicializa una nueva instancia de la clase ComponentRegistrationBridge<TComponent>.

ComponentRegistrationBridge<TComponent>(TComponent, IConfiguration)
Obsoletos.

Inicializa una nueva instancia de la clase ComponentRegistrationBridge<TComponent>.

Propiedades

Nombre Description
BotComponent
Obsoletos.

Así BotComponent se conecta con el legado ComponentRegistration.

Métodos

Nombre Description
GetFromComponent<TRegistration>(IServiceCollection)
Obsoletos.

Llamadas iniciando en el BotComponent para recuperar una colección de registros para el tipo TRegistration.

GetMemoryScopes()
Obsoletos.

Obtiene los ámbitos de memoria.

GetPathResolvers()
Obsoletos.

Devuelve la enumeración de pathresolvers.

Se aplica a