ObservableListAdapterT Class |
Namespace: TomsToolbox.ObservableCollections
public class ObservableListAdapter<T> : IList, ICollection, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged
The ObservableListAdapterT type exposes the following members.
Name | Description | |
---|---|---|
ObservableListAdapterT |
Initializes a new instance of the ObservableListAdapterT class.
|
Name | Description | |
---|---|---|
Count |
Gets the number of elements contained in the ICollection.
| |
IsFixedSize |
Gets a value indicating whether the IList has a fixed size.
| |
IsReadOnly |
Gets a value indicating whether the IList is read-only.
| |
IsSynchronized |
Gets a value indicating whether access to the ICollection is synchronized (thread safe).
| |
Item |
Gets or sets the element at the specified index.
| |
SyncRoot |
Gets an object that can be used to synchronize access to the ICollection.
|
Name | Description | |
---|---|---|
Add |
Adds an item to the IList.
| |
Clear |
Removes all items from the IList.
| |
Contains |
Determines whether the IList contains a specific value.
| |
CopyTo | ||
GetEnumerator |
Returns an enumerator that iterates through a collection.
| |
IndexOf |
Determines the index of a specific item in the IList.
| |
Insert |
Inserts an item to the IList at the specified index.
| |
Remove |
Removes the first occurrence of a specific object from the IList.
| |
RemoveAt |
Removes the IList item at the specified index.
|
Name | Description | |
---|---|---|
CollectionChanged |
Occurs when the collection changes.
| |
PropertyChanged |
Occurs when a property value changes.
|
Name | Description | |
---|---|---|
AddRange |
Adds the elements of the specified collection to the end of the list.
(Defined by CollectionExtensions.) | |
ObservableCastTTarget |
Returns an observable collection of objects of type TTarget that mirrors the source collection.
(Defined by ObservableExtensions.) | |
RemoveRange |
Removes a range of elements from the list.
(Defined by CollectionExtensions.) | |
SafeCastT |
Performs a cast from object to T, avoiding possible null violations if T is a value type.
(Defined by ObjectExtensions.) |