Share via


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

适用于