IComponentDeclarativeTypes Rozhraní
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Upozornění
Use BotComponent and register declarative types through adding DeclarativeType implementations to the IServiceCollection, for example services.AddSingleton<DeclarativeType, MyDeclarativeType>().
Rozhraní pro registraci deklarativních druhů a jsonconverterů pro jejich podporu
[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
- Odvozené
- Atributy
Metody
| GetConverters(ResourceExplorer, SourceContext) |
Zastaralé.
Vrátí výčet JsonConverters pro podporu načítání deklarativních typů. |
| GetDeclarativeTypes(ResourceExplorer) |
Zastaralé.
Vrátí výčet KindRegistrations $kind => Type. |