Share via


CodeContainerStorageManager Class

Definition

The primary type responsible for managing the records of the Code Containers accessed by the Shell. It is mainly responsible for (a) bookkeeping of the Code Containers accessed by the Shell and (b) roaming of information related to the online presence of such Code Containers on the web

public ref class CodeContainerStorageManager : Microsoft::VisualStudio::Shell::CodeContainerManagement::ICodeContainerStorageManager
[Windows::Foundation::Metadata::WebHostHidden]
class CodeContainerStorageManager : Microsoft::VisualStudio::Shell::CodeContainerManagement::ICodeContainerStorageManager
public class CodeContainerStorageManager : Microsoft.VisualStudio.Shell.CodeContainerManagement.ICodeContainerStorageManager
type CodeContainerStorageManager = class
    interface ICodeContainerStorageManager
Public Class CodeContainerStorageManager
Implements ICodeContainerStorageManager
Inheritance
CodeContainerStorageManager
Implements

Constructors

CodeContainerStorageManager(ObservableSettingsListBase<CodeContainer>, ObservableSettingsListBase<RemoteCodeContainer>)

Initializes a new instance of CodeContainerStorageManager.

Methods

AddOrUpdateAsync(CodeContainer, CancellationToken)

Adds or updates the records of the Shell for the supplied codeContainer. Also roams the associated Remote if any.

ClearAsync(CancellationToken)
GetAsync(String, CancellationToken)

Retrieves the CodeContainer whose Full-Path is equal to fullPath if it has been previously opened by the Shell. Returns null otherwise.

RemoveAsync(CodeContainer, CancellationToken)

Removes the records of the Shell for the supplied codeContainer and unroams the Remote associated with it if any.

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

Allows targetBlock to receive updates about Code Containers accessed by the Shell.

Applies to