IComponentDeclarativeTypes 介面
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
Use BotComponent
and register declarative types through adding DeclarativeType
implementations to the IServiceCollection, for example services.AddSingleton<DeclarativeType, MyDeclarativeType>()
.
用於註冊宣告式類型和 jsonconverters 的介面,以支援它們。
[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 的列舉。 |