DeclarativeComponentRegistrationBridge<TComponent> Class

Definition

Caution

This class only exists for backward compatibility of legacy ComponentRegistrations. Use BotComponent for new components.

Bridge class to allow BotComponent to be backward compatible with ComponentRegistration.

[System.Obsolete("This class only exists for backward compatibility of legacy `ComponentRegistrations`. Use `BotComponent` for new components.")]
public class DeclarativeComponentRegistrationBridge<TComponent> : Microsoft.Bot.Builder.Dialogs.Obsolete.ComponentRegistrationBridge<TComponent>, Microsoft.Bot.Builder.Dialogs.Declarative.IComponentDeclarativeTypes where TComponent : BotComponent, new()
[<System.Obsolete("This class only exists for backward compatibility of legacy `ComponentRegistrations`. Use `BotComponent` for new components.")>]
type DeclarativeComponentRegistrationBridge<'Component (requires 'Component :> BotComponent and 'Component : (new : unit -> 'Component))> = class
    inherit ComponentRegistrationBridge<'Component (requires 'Component :> BotComponent and 'Component : (new : unit -> 'Component))>
    interface IComponentDeclarativeTypes
Public Class DeclarativeComponentRegistrationBridge(Of TComponent)
Inherits ComponentRegistrationBridge(Of TComponent)
Implements IComponentDeclarativeTypes

Type Parameters

TComponent

The type of BotComponent to bridge into legacy ComponentRegistration.

Inheritance
DeclarativeComponentRegistrationBridge<TComponent>
Derived
Attributes
Implements

Constructors

DeclarativeComponentRegistrationBridge<TComponent>()

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

DeclarativeComponentRegistrationBridge<TComponent>(TComponent, IConfiguration)

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

Properties

BotComponent

Gets BotComponent to be bridged to the legacy ComponentRegistration.

(Inherited from ComponentRegistrationBridge<TComponent>)

Methods

GetConverters(ResourceExplorer, SourceContext)

Return an enumeration of JsonConverters for supporting loading declarative types.

GetDeclarativeTypes(ResourceExplorer)

Return an enumeration of KindRegistrations $kind => Type.

GetFromComponent<TRegistration>(IServiceCollection)

Calls startup on the BotComponent to retrieve a collection of registrations for type TRegistration.

(Inherited from ComponentRegistrationBridge<TComponent>)
GetMemoryScopes()

Gets the memory scopes.

(Inherited from ComponentRegistrationBridge<TComponent>)
GetPathResolvers()

Return enumeration of pathresolvers.

(Inherited from ComponentRegistrationBridge<TComponent>)

Applies to