Taal

ComponentRegistrationBridge<TComponent> Klas

Definitie

Let op

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

Brugklasse om achterwaarts compatibel te zijn BotComponent met 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

Type parameters

TComponent

Het soort om BotComponent te overbruggen naar de legacy ComponentRegistration.

Overname
ComponentRegistrationBridge<TComponent>
Afgeleid
Kenmerken
Implementeringen

Constructors

Name Description
ComponentRegistrationBridge<TComponent>()
Verouderd.

Initialiseert een nieuw exemplaar van de ComponentRegistrationBridge<TComponent> klasse.

ComponentRegistrationBridge<TComponent>(TComponent, IConfiguration)
Verouderd.

Initialiseert een nieuw exemplaar van de ComponentRegistrationBridge<TComponent> klasse.

Eigenschappen

Name Description
BotComponent
Verouderd.

Moet BotComponent worden overgeheveld met de erfenis ComponentRegistration.

Methoden

Name Description
GetFromComponent<TRegistration>(IServiceCollection)
Verouderd.

Roept de opstart op om BotComponent een verzameling registraties op te halen voor type TRegistration.

GetMemoryScopes()
Verouderd.

Krijgt de geheugenscopes.

GetPathResolvers()
Verouderd.

Geef de opsomming van padresolvers terug.

Van toepassing op