Share via


DeclarativeComponentRegistration Class

Definition

Caution

Use DeclarativeBotComponent.

Registers declarative kinds.

[System.Obsolete("Use `DeclarativeBotComponent`.")]
public class DeclarativeComponentRegistration : Microsoft.Bot.Builder.Dialogs.Declarative.Obsolete.DeclarativeComponentRegistrationBridge<Microsoft.Bot.Builder.Dialogs.Declarative.DeclarativeBotComponent>
[<System.Obsolete("Use `DeclarativeBotComponent`.")>]
type DeclarativeComponentRegistration = class
    inherit DeclarativeComponentRegistrationBridge<DeclarativeBotComponent>
Public Class DeclarativeComponentRegistration
Inherits DeclarativeComponentRegistrationBridge(Of DeclarativeBotComponent)
Inheritance
Attributes

Constructors

DeclarativeComponentRegistration()

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.

(Inherited from DeclarativeComponentRegistrationBridge<TComponent>)
GetDeclarativeTypes(ResourceExplorer)

Return an enumeration of KindRegistrations $kind => Type.

(Inherited from DeclarativeComponentRegistrationBridge<TComponent>)
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