Compartir a través de


IComponentDeclarativeTypes Interfaz

Definición

Precaución

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

Interfaz para registrar tipos declarativos y jsonconverters para admitirlos.

[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)
Obsoletos.

Devuelve una enumeración de JsonConverters para admitir la carga de tipos declarativos.

GetDeclarativeTypes(ResourceExplorer)
Obsoletos.

Devuelve una enumeración de KindRegistrations $kind => Type.

Se aplica a