Partilhar via


IComponentDeclarativeTypes Interface

Definição

Atenção

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

Interface para registar tipos declarativos e jsonconverters para os suportar.

[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
Derivado
Atributos

Métodos

GetConverters(ResourceExplorer, SourceContext)
Obsoleto.

Devolver uma enumeração de JsonConverters para suportar tipos declarativos de carregamento.

GetDeclarativeTypes(ResourceExplorer)
Obsoleto.

Devolver uma enumeração de KindRegistrations $kind => Type.

Aplica-se a