IComponentDeclarativeTypes 接口  
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
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 的枚举。  |