DeclarativeComponentRegistrationBridge<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
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.