Dela via


DeclarativeComponentRegistrationBridge<TComponent> Konstruktorer

Definition

Överlagringar

DeclarativeComponentRegistrationBridge<TComponent>()

Initierar en ny instans av DeclarativeComponentRegistrationBridge<TComponent> klassen.

DeclarativeComponentRegistrationBridge<TComponent>(TComponent, IConfiguration)

Initierar en ny instans av DeclarativeComponentRegistrationBridge<TComponent> klassen.

DeclarativeComponentRegistrationBridge<TComponent>()

Initierar en ny instans av DeclarativeComponentRegistrationBridge<TComponent> klassen.

public DeclarativeComponentRegistrationBridge ();
Public Sub New ()

Gäller för

DeclarativeComponentRegistrationBridge<TComponent>(TComponent, IConfiguration)

Initierar en ny instans av DeclarativeComponentRegistrationBridge<TComponent> klassen.

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

Parametrar

botComponent
TComponent

BotComponent som ska exponeras som ett äldre ComponentRegistration.

configuration
IConfiguration

Valfritt IConfiguration för målet BotComponent.

Gäller för