Taal

IComponentDeclarativeTypes Interface

Definitie

Let op

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

Interface voor het registreren van declaratieve soorten en jsonconverters om ze te ondersteunen.

[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
Afgeleid
Kenmerken

Methoden

Name Description
GetConverters(ResourceExplorer, SourceContext)
Verouderd.

Retourneer een opsomming van JsonConverters voor het ondersteunen van declaratieve typen laden.

GetDeclarativeTypes(ResourceExplorer)
Verouderd.

Retourneer een opsomming van KindRegistrations $kind => Type.

Van toepassing op