ICodeContainerStorageManager 接口

定义

定义类的公共 Api 的接口,该类负责管理 Shell 所访问的代码容器的记录。

public interface class ICodeContainerStorageManager
public interface class ICodeContainerStorageManager
__interface ICodeContainerStorageManager
public interface ICodeContainerStorageManager
type ICodeContainerStorageManager = interface
Public Interface ICodeContainerStorageManager
派生

方法

AddOrUpdateAsync(CodeContainer, CancellationToken)

为提供的添加或更新 Shell 记录 codeContainer

ClearAsync(CancellationToken)

清除所有本地和漫游代码容器的 Shell 的所有记录。

GetAsync(String, CancellationToken)

检索 CodeContainer 其 Full-Path 等于的 fullPath

RemoveAsync(CodeContainer, CancellationToken)

删除提供的的 Shell 记录 codeContainer

SubscribeAsync(ITargetBlock<StatefulReadOnlyList<CodeContainer,Nullable<Int32>>>, CancellationToken)

允许 targetBlock 接收有关 Shell 访问的代码容器的更新。

适用于