Sdílet prostřednictvím


MemoryStorage Třída

Definice

Vrstva úložiště, která používá slovník v paměti.

public class MemoryStorage : Microsoft.Bot.Builder.IStorage
type MemoryStorage = class
    interface IStorage
Public Class MemoryStorage
Implements IStorage
Dědičnost
MemoryStorage
Implementuje

Konstruktory

MemoryStorage(Dictionary<String,JObject>)

Inicializuje novou instanci MemoryStorage třídy.

MemoryStorage(JsonSerializer, Dictionary<String,JObject>)

Inicializuje novou instanci MemoryStorage třídy.

Metody

DeleteAsync(String[], CancellationToken)

Odstraní položky úložiště z úložiště.

ReadAsync(String[], CancellationToken)

Čte položky úložiště z úložiště.

WriteAsync(IDictionary<String,Object>, CancellationToken)

Zapisuje položky úložiště do úložiště.

Metody rozšíření

ReadAsync<TStoreItem>(IStorage, String[], CancellationToken)

Získá a silně zatypuje kolekci IStoreItem objektů ze stavového úložiště.

Platí pro