IComponentDeclarativeTypes Interfaccia

Definizione

Attenzione

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

Interfaccia per la registrazione di tipi dichiarativi e jsonconverter per supportarli.

[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
Derivato
Attributi

Metodi

GetConverters(ResourceExplorer, SourceContext)
Obsoleti.

Restituisce un'enumerazione di JsonConverters per supportare il caricamento di tipi dichiarativi.

GetDeclarativeTypes(ResourceExplorer)
Obsoleti.

Restituisce un'enumerazione KindRegistrations $kind => Type.

Si applica a