Share via


DeclarativeComponentRegistrationBridge<TComponent> Constructors

Definition

Overloads

DeclarativeComponentRegistrationBridge<TComponent>()

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

DeclarativeComponentRegistrationBridge<TComponent>(TComponent, IConfiguration)

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

DeclarativeComponentRegistrationBridge<TComponent>()

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

public DeclarativeComponentRegistrationBridge ();
Public Sub New ()

Applies to

DeclarativeComponentRegistrationBridge<TComponent>(TComponent, IConfiguration)

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

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)

Parameters

botComponent
TComponent

BotComponent to be exposed as a legacy ComponentRegistration.

configuration
IConfiguration

Optional IConfiguration for the target BotComponent.

Applies to