IComponentMemoryScopes Interfaccia

Definizione

Attenzione

Bot components should create subclass Microsoft.Bot.Builder.BotComponent and use the provided IServiceCollection to register a custom memory scope. Example: services.AddSingleton<MemoryScope, MyCustomMemoryScope>(). In composer scenarios, the Startup method will be called automatically.

Definisce l'interfaccia Ambiti memoria componente per l'enumerazione degli ambiti di memoria.

[System.Obsolete("Bot components should create subclass `Microsoft.Bot.Builder.BotComponent` and use the provided `IServiceCollection` to register a custom memory scope. Example: `services.AddSingleton<MemoryScope, MyCustomMemoryScope>()`. In composer scenarios, the Startup method will be called automatically.")]
public interface IComponentMemoryScopes
[<System.Obsolete("Bot components should create subclass `Microsoft.Bot.Builder.BotComponent` and use the provided `IServiceCollection` to register a custom memory scope. Example: `services.AddSingleton<MemoryScope, MyCustomMemoryScope>()`. In composer scenarios, the Startup method will be called automatically.")>]
type IComponentMemoryScopes = interface
Public Interface IComponentMemoryScopes
Derivato
Attributi

Metodi

GetMemoryScopes()
Obsoleti.

Ottiene gli ambiti di memoria.

Si applica a