Aracılığıyla paylaş


ComponentRegistrationBridge<TComponent> Sınıf

Tanım

Dikkat

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

ile ComponentRegistrationgeriye dönük olarak uyumlu olmasını sağlamak BotComponent için köprü sınıfı.

[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

Tür Parametreleri

TComponent

Eski ComponentRegistrationiçine köprü oluşturma türüBotComponent.

Devralma
ComponentRegistrationBridge<TComponent>
Türetilmiş
Öznitelikler
Uygulamalar

Oluşturucular

ComponentRegistrationBridge<TComponent>()
Geçersiz.

ComponentRegistrationBridge<TComponent> sınıfının yeni bir örneğini başlatır.

ComponentRegistrationBridge<TComponent>(TComponent, IConfiguration)
Geçersiz.

ComponentRegistrationBridge<TComponent> sınıfının yeni bir örneğini başlatır.

Özellikler

BotComponent
Geçersiz.

BotComponent eski ComponentRegistrationile köprülenir.

Yöntemler

GetFromComponent<TRegistration>(IServiceCollection)
Geçersiz.

türü TRegistrationiçin BotComponent bir kayıt koleksiyonu almak üzere üzerinde başlatmayı çağırır.

GetMemoryScopes()
Geçersiz.

Bellek kapsamlarını alır.

GetPathResolvers()
Geçersiz.

pathresolvers sabit listesi döndürür.

Şunlara uygulanır