Język

ComponentRegistrationBridge<TComponent> Klasa

Definicja

Uwaga

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

Klasa mostka, aby umożliwić BotComponent wsteczną zgodność z .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

Parametry typu

TComponent

Rodzaj mostu BotComponent do przejścia do legacy ComponentRegistration.

Dziedziczenie
ComponentRegistrationBridge<TComponent>
Pochodne
Atrybuty
Implementuje

Konstruktory

Nazwa Opis
ComponentRegistrationBridge<TComponent>()
Przestarzałe.

Inicjuje nowe wystąpienie klasy ComponentRegistrationBridge<TComponent>.

ComponentRegistrationBridge<TComponent>(TComponent, IConfiguration)
Przestarzałe.

Inicjuje nowe wystąpienie klasy ComponentRegistrationBridge<TComponent>.

Właściwości

Nazwa Opis
BotComponent
Przestarzałe.

To BotComponent jest mostem do dziedzictwa ComponentRegistration.

Metody

Nazwa Opis
GetFromComponent<TRegistration>(IServiceCollection)
Przestarzałe.

Dzwoni do uruchomienia w BotComponent celu pobrania zbioru rejestracji dla typu TRegistration.

GetMemoryScopes()
Przestarzałe.

Dostaje teleskopy pamięci.

GetPathResolvers()
Przestarzałe.

Zwróć wyliczanie pathresolverów.

Dotyczy