IComponentPathResolvers 接口

定义

注意

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.

用于在内存系统中声明路径解析程序的接口。

[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
派生
属性

方法

GetPathResolvers()
已过时.

返回 pathresolvers 的枚举。

适用于