IComponentDeclarativeTypes Interface
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.
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. |