IComponentDeclarativeTypes 接口

定义

注意

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

用于注册声明性类型和 jsonconverter 以支持它们的接口。

[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
派生
属性

方法

GetConverters(ResourceExplorer, SourceContext)
已过时.

返回 JsonConverters 的枚举,以支持加载声明性类型。

GetDeclarativeTypes(ResourceExplorer)
已过时.

返回 KindRegistrations $kind => Type 的枚举。

适用于