Jaa


IComponentDeclarativeTypes Interface

Definition

Caution

Use BotComponent and register declarative types through adding DeclarativeType implementations to the IServiceCollection, for example services.AddSingleton<DeclarativeType, MyDeclarativeType>().

Interface for registering declarative kinds and jsonconverters to support them.

[System.Obsolete("Use `BotComponent` and register declarative types through adding `DeclarativeType` implementations to the IServiceCollection, for example `services.AddSingleton<DeclarativeType, MyDeclarativeType>()`.")]
public interface IComponentDeclarativeTypes
[<System.Obsolete("Use `BotComponent` and register declarative types through adding `DeclarativeType` implementations to the IServiceCollection, for example `services.AddSingleton<DeclarativeType, MyDeclarativeType>()`.")>]
type IComponentDeclarativeTypes = interface
Public Interface IComponentDeclarativeTypes
Derived
Attributes

Methods

GetConverters(ResourceExplorer, SourceContext)

Return an enumeration of JsonConverters for supporting loading declarative types.

GetDeclarativeTypes(ResourceExplorer)

Return an enumeration of KindRegistrations $kind => Type.

Applies to