Share via


ComponentRegistrationBridge<TComponent> Constructors

Definition

Overloads

ComponentRegistrationBridge<TComponent>()

Initializes a new instance of the ComponentRegistrationBridge<TComponent> class.

ComponentRegistrationBridge<TComponent>(TComponent, IConfiguration)

Initializes a new instance of the ComponentRegistrationBridge<TComponent> class.

ComponentRegistrationBridge<TComponent>()

Initializes a new instance of the ComponentRegistrationBridge<TComponent> class.

public ComponentRegistrationBridge ();
Public Sub New ()

Applies to

ComponentRegistrationBridge<TComponent>(TComponent, IConfiguration)

Initializes a new instance of the ComponentRegistrationBridge<TComponent> class.

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)

Parameters

botComponent
TComponent

BotComponent to be exposed as a legacy ComponentRegistration.

configuration
IConfiguration

Optional IConfiguration for the target BotComponent.

Applies to