Class LockableCollection<T>
- Namespace
- VAST.Collections
- Assembly
- VAST.Common.dll
An observable collection that can be locked to prevent modifications.
public class LockableCollection<T> : ObservableCollection<T>, IList<T>, ICollection<T>, IList, ICollection, IReadOnlyList<T>, IReadOnlyCollection<T>, IEnumerable<T>, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged
Type Parameters
TThe type of elements in the collection.
- Inheritance
-
Collection<T>LockableCollection<T>
- Implements
-
IList<T>ICollection<T>IEnumerable<T>
- Inherited Members
Constructors
LockableCollection()
public LockableCollection()
Properties
IsLocked
Gets a value indicating whether the collection is locked and cannot be modified.
public bool IsLocked { get; }