Delen via


IComponentPathResolvers Interface

Definitie

Waarschuwing

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 voor het declareren van pad-resolvers in het geheugensysteem.

[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
Afgeleid
Kenmerken

Methoden

GetPathResolvers()
Verouderd.

Opsomming van pathresolvers retourneren.

Van toepassing op