Sdílet prostřednictvím


IComponentPathResolvers Rozhraní

Definice

Upozornění

Bot components should create subclass Microsoft.Bot.Builder.BotComponent and use the provided IServiceCollection to register a path resolver. Example: services.AddSingleton<IPathResolver, MyPathResolver>(). In composer scenarios, the Startup method will be called automatically.

Rozhraní pro deklarování překladačů cest v paměťovém systému.

[System.Obsolete("Bot components should create subclass `Microsoft.Bot.Builder.BotComponent` and use the provided `IServiceCollection` to register a path resolver. Example: `services.AddSingleton<IPathResolver, MyPathResolver>()`. In composer scenarios, the Startup method will be called automatically.")]
public interface IComponentPathResolvers
[<System.Obsolete("Bot components should create subclass `Microsoft.Bot.Builder.BotComponent` and use the provided `IServiceCollection` to register a path resolver. Example: `services.AddSingleton<IPathResolver, MyPathResolver>()`. In composer scenarios, the Startup method will be called automatically.")>]
type IComponentPathResolvers = interface
Public Interface IComponentPathResolvers
Odvozené
Atributy

Metody

GetPathResolvers()
Zastaralé.

Vrátí výčet pathresolvers.

Platí pro