Språk

IComponentDeclarativeTypes Gränssnitt

Definition

Varning

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

Gränssnitt för att registrera deklarativa typer och jsonconverters som stöd för dem.

[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
Härledda
Attribut

Metoder

Name Description
GetConverters(ResourceExplorer, SourceContext)
Föråldrad.

Returnera en uppräkning av JsonConverters för att stödja inläsning av deklarativa typer.

GetDeclarativeTypes(ResourceExplorer)
Föråldrad.

Returnera en uppräkning av KindRegistrations $kind => Type.

Gäller för