语言

IStorage 接口

定义

定义存储层的接口。

public interface IStorage
type IStorage = interface
Public Interface IStorage
派生

方法

名称 说明
DeleteAsync(String[], CancellationToken)

从存储中删除存储项。

ReadAsync(String[], CancellationToken)

从存储中读取存储项。

WriteAsync(IDictionary<String,Object>, CancellationToken)

将存储项写入存储。

扩展方法

名称 说明
ReadAsync<TStoreItem>(IStorage, String[], CancellationToken)

从状态存储中获取并强类型一组 IStoreItem 对象。

适用于