Condividi tramite


IComponentPathResolvers Interfaccia

Definizione

Attenzione

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.

Interfaccia per la dichiarazione dei resolver di percorso nel sistema di memoria.

[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
Derivato
Attributi

Metodi

GetPathResolvers()
Obsoleti.

Enumerazione restituita di pathresolvers.

Si applica a