IComponentMemoryScopes 介面

定義

警告

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.

定義列舉記憶體範圍的元件記憶體範圍介面。

[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
衍生
屬性

方法

GetMemoryScopes()
已淘汰.

取得記憶體範圍。

適用於