Share via


InMemoryDataStore Class

Definition

Volitile in-memory implementation of IBotDataStore<T>

public class InMemoryDataStore : Microsoft.Bot.Builder.Dialogs.Internals.IBotDataStore<Microsoft.Bot.Connector.BotData>
type InMemoryDataStore = class
    interface IBotDataStore<BotData>
Public Class InMemoryDataStore
Implements IBotDataStore(Of BotData)
Inheritance
InMemoryDataStore
Implements

Remarks

NOTE: This uses an internal dictionary with no culling so it should not be used for production code at all, as it will eventually just use all of your memory.

Constructors

InMemoryDataStore()

Explicit Interface Implementations

IBotDataStore<BotData>.FlushAsync(IAddress, CancellationToken)
IBotDataStore<BotData>.LoadAsync(IAddress, BotStoreType, CancellationToken)
IBotDataStore<BotData>.SaveAsync(IAddress, BotStoreType, BotData, CancellationToken)

Applies to