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() |
Устаревшие..
Возвращает области памяти. |