SettingsMemoryScope Class

Definition

SettingsMemoryscope maps "settings" -> IConfiguration.

public class SettingsMemoryScope : Microsoft.Bot.Builder.Dialogs.Memory.Scopes.MemoryScope
type SettingsMemoryScope = class
    inherit MemoryScope
Public Class SettingsMemoryScope
Inherits MemoryScope
Inheritance
SettingsMemoryScope

Constructors

SettingsMemoryScope(IConfiguration)

Initializes a new instance of the SettingsMemoryScope class.

Properties

IncludeInSnapshot

Gets or sets a value indicating whether this memory should be included in snapshot.

(Inherited from MemoryScope)
Name

Gets or sets name of the scope.

(Inherited from MemoryScope)

Methods

DeleteAsync(DialogContext, CancellationToken)

Deletes any state in storage and the cache for this BotState.

(Inherited from MemoryScope)
GetMemory(DialogContext)

Gets the backing memory for this scope.

LoadAsync(DialogContext, Boolean, CancellationToken)

Populates the state cache for this BotState from the storage layer.

LoadSettings(IConfiguration)

Build a dictionary view of configuration providers.

SaveChangesAsync(DialogContext, Boolean, CancellationToken)

Writes the state cache for this BotState to the storage layer.

(Inherited from MemoryScope)
SetMemory(DialogContext, Object)

Changes the backing object for the memory scope.

Applies to