IComponentPathResolvers Interface

Definition

Caution

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.

Interface for declaring path resolvers in the memory system.

[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
Derived
Attributes

Methods

GetPathResolvers()

Return enumeration of pathresolvers.

Applies to