Udostępnij za pośrednictwem


InMemoryDataStore Klasa

Definicja

Volitile in-memory implementacji 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)
Dziedziczenie
InMemoryDataStore
Implementuje

Uwagi

UWAGA: Korzysta to ze słownika wewnętrznego bez wyłusku, więc nie powinno być używane do produkcji kodu, ponieważ w końcu będzie po prostu używać całej pamięci.

Konstruktory

InMemoryDataStore()

Volitile in-memory implementacji IBotDataStore<T>

Jawne implementacje interfejsu

IBotDataStore<BotData>.FlushAsync(IAddress, CancellationToken)

Volitile in-memory implementacji IBotDataStore<T>

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

Volitile in-memory implementacji IBotDataStore<T>

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

Volitile in-memory implementacji IBotDataStore<T>

Dotyczy