Sdílet prostřednictvím


ComponentRegistrationBridge<TComponent> Konstruktory

Definice

Přetížení

ComponentRegistrationBridge<TComponent>()

Inicializuje novou instanci ComponentRegistrationBridge<TComponent> třídy.

ComponentRegistrationBridge<TComponent>(TComponent, IConfiguration)

Inicializuje novou instanci ComponentRegistrationBridge<TComponent> třídy.

ComponentRegistrationBridge<TComponent>()

Inicializuje novou instanci ComponentRegistrationBridge<TComponent> třídy.

public ComponentRegistrationBridge ();
Public Sub New ()

Platí pro

ComponentRegistrationBridge<TComponent>(TComponent, IConfiguration)

Inicializuje novou instanci ComponentRegistrationBridge<TComponent> třídy.

public ComponentRegistrationBridge (TComponent botComponent, Microsoft.Extensions.Configuration.IConfiguration configuration = default);
new Microsoft.Bot.Builder.Dialogs.Obsolete.ComponentRegistrationBridge<'Component (requires 'Component :> Microsoft.Bot.Builder.BotComponent and 'Component : (new : unit -> 'Component))> : 'Component * Microsoft.Extensions.Configuration.IConfiguration -> Microsoft.Bot.Builder.Dialogs.Obsolete.ComponentRegistrationBridge<'Component (requires 'Component :> Microsoft.Bot.Builder.BotComponent and 'Component : (new : unit -> 'Component))>
Public Sub New (botComponent As TComponent, Optional configuration As IConfiguration = Nothing)

Parametry

botComponent
TComponent

BotComponent k vystavení jako starší verze ComponentRegistration.

configuration
IConfiguration

Volitelné IConfiguration pro cíl BotComponent.

Platí pro