ComponentRegistrationBridge<TComponent> Sınıf
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
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
- 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ü |
GetMemoryScopes() |
Geçersiz.
Bellek kapsamlarını alır. |
GetPathResolvers() |
Geçersiz.
pathresolvers sabit listesi döndürür. |