Table of Contents

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

T

The type of elements in the collection.

Inheritance
LockableCollection<T>
Implements
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; }

Property Value

bool