IComponentPathResolvers 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
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 的枚举。 |