Freigeben über


IComponentDeclarativeTypes Schnittstelle

Definition

Achtung

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

Schnittstelle zum Registrieren von deklarativen Typen und jsonconvertern, um sie zu unterstützen.

[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
Abgeleitet
Attribute

Methoden

GetConverters(ResourceExplorer, SourceContext)
Veraltet.

Gibt eine Enumeration von JsonConverters zur Unterstützung des Ladens deklarativer Typen zurück.

GetDeclarativeTypes(ResourceExplorer)
Veraltet.

Gibt eine Enumeration von KindRegistrations $kind => Type zurück.

Gilt für: