ComponentRegistrationBridge<TComponent> Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.