IComponentMemoryScopes Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
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.
Defines Component Memory Scopes interface for enumerating memory scopes.
[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
- Derived
- Attributes
Methods
GetMemoryScopes() |
Gets the memory scopes. |