CodeContainerRegistry Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A type that represents the main Registry employed by the Shell for keeping track of all the Code Containers it accesses.
public ref class CodeContainerRegistry : Microsoft::VisualStudio::Shell::ObservableSettingsListBase<Microsoft::VisualStudio::Shell::CodeContainerManagement::CodeContainer ^>
[Windows::Foundation::Metadata::WebHostHidden]
class CodeContainerRegistry : Microsoft::VisualStudio::Shell::ObservableSettingsListBase<Microsoft::VisualStudio::Shell::CodeContainerManagement::CodeContainer>
public class CodeContainerRegistry : Microsoft.VisualStudio.Shell.ObservableSettingsListBase<Microsoft.VisualStudio.Shell.CodeContainerManagement.CodeContainer>
type CodeContainerRegistry = class
inherit ObservableSettingsListBase<CodeContainer>
Public Class CodeContainerRegistry
Inherits ObservableSettingsListBase(Of CodeContainer)
- Inheritance
Constructors
CodeContainerRegistry(ISettingsManager) |
Properties
Capacity | (Inherited from ObservableSettingsListBase<TValue>) |
IsRoamed |
Keep the underlying data stored locally, i.e. don't roam it. |
Recycle | (Inherited from ObservableSettingsListBase<TValue>) |
SettingsList |
The actual settings list where the Code Container data is persisted. (Inherited from ObservableSettingsListBase<TValue>) |
SettingsListName |
The name of the underlying store used to persist the data on this Registry. |
Methods
AddOrUpdateAsync(String, ValueT, Object, CancellationToken) |
Adds or updates |
AddToFrontAsync(String, ValueT, Object) | (Inherited from ObservableSettingsListBase<TValue>) |
ClearAsync(Object, CancellationToken) |
Clears all keys and values stored on the list. (Inherited from ObservableSettingsListBase<TValue>) |
ClearAsync(Object) | (Inherited from ObservableSettingsListBase<TValue>) |
CodeContainerSettingsList_CollectionChangedAsync(Object, SettingsListChangedEventArgs) |
An event-handler that is fired whenever changes to the underlying ISettingsList maintained by the Registry are made. (Inherited from ObservableSettingsListBase<TValue>) |
GetAsync(String, CancellationToken) |
Retrieves the Code Container associated with |
GetValueOrDefault(String) | (Inherited from ObservableSettingsListBase<TValue>) |
PurgeIfNecessaryAsync(Object, CancellationToken) |
Removes a fixed number of the least-accessed values to keep the underlying ISettingsList from growing indefinitely. (Inherited from ObservableSettingsListBase<TValue>) |
RemoveAsync(String, Object, CancellationToken) |
Removes the value stored under the supplied |
RemoveAsync(String, Object) | (Inherited from ObservableSettingsListBase<TValue>) |
SubscribeAsync(ITargetBlock<StatefulReadOnlyList<ValueT,Object>>, CancellationToken) |
Allows |
SuspendUpdatesAsync() |
Suspends sending updates to any subscribed observers. This is useful in case multiple changes are made to the list cause it keeps the list from pushing updates to subscribers every single time a change is made. Any updates made to the underlying list during suspension will cause an up-to-date copy to be pushed to subscribers as soon as suspensions are disposed of. (Inherited from ObservableSettingsListBase<TValue>) |