IComponentDeclarativeTypes Gränssnitt
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
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
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. |