IComponentDeclarativeTypes Interface

Definição

Cuidado

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

Interface para registrar tipos declarativos e jsonconverters para dar suporte a eles.

[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

Nome Description
GetConverters(ResourceExplorer, SourceContext)
Obsoleto.

Retornar uma enumeração de JsonConverters para dar suporte ao carregamento de tipos declarativos.

GetDeclarativeTypes(ResourceExplorer)
Obsoleto.

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

Aplica-se a