| ObservableListT Class |
Namespace: Sdl.FileTypeSupport.Framework.Core.Settings
public class ObservableList<T> : IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged
The ObservableListT type exposes the following members.
| Name | Description | |
|---|---|---|
| ObservableListT |
Default constructor creating a new empty list with a default capacity.
| |
| ObservableListT(IEnumerableT) |
Constructor which takes a collection of T and adds it to this list
|
| Name | Description | |
|---|---|---|
| Count |
The number of elements contained in the list.
| |
| IsReadOnly |
Determines whether the list is read-only.
| |
| Item |
Retrieves the list item at the specified index.
|
| Name | Description | |
|---|---|---|
| Add |
Adds an item to the list.
| |
| AddRange |
Adds the elements of the specified collection to the list.
| |
| Clear |
Removes all items from the list.
| |
| ClearListItemSettings |
Removes all saved items belonging to this list from the stored settings group. This is
called from SaveToSettingsGroup(ISettingsGroup, String) to make sure that the settings being updated
are all saved cleanly.
| |
| Contains |
Determines whether the list contains a specific item.
| |
| CopyTo |
Copies the elements of the list to an array, starting at a particular index.
| |
| CreateObservableStringList |
Factory method used by the Spring framework to create observable string lists
to assign to the properties that require them.
| |
| Equals |
Determines whether the given object is equal to this object.
(Overrides ObjectEquals(Object).) | |
| Find |
Searches for an element that matches the conditions defined by the specified predicate,
and returns the first occurrence within the entire ObservableList.
| |
| GetEnumerator |
Returns an enumerator that iterates through the list.
| |
| GetHashCode |
Gets the hash code.
(Overrides ObjectGetHashCode.) | |
| GetListItemFromSettings |
Gets the setting for the list item from the settings group and populates it.
| |
| IndexOf |
Determines the index of the specified item in the list.
| |
| Insert |
Inserts an item into the list at the specified index.
| |
| InsertRange |
Inserts the elements of a collection into list at the specified index.
| |
| PopulateFromSettingsGroup |
Restores the list from the settings group and populates itself using the setting ID as its base.
| |
| Remove |
Removes the first occurrence of a specific item from the list.
| |
| RemoveAt |
Removes the list item at the specified index.
| |
| SaveToSettingsGroup |
Saves this list to the settings group using the setting ID as a base.
| |
| Sort |
Sorts the list using the default comparer.
| |
| Sort(IComparerT) |
Sorts the list using the provided comparer.
| |
| Sort(ComparisonT) |
Sorts the list using the provided comparison delegate
| |
| ToArray |
Copies the elements of the list to a new array.
|
| Name | Description | |
|---|---|---|
| CollectionChanged |
Event that is fired whenever the list collection has changed.
| |
| PropertyChanged |
Event that is fired whenever the value of a property on the list has changed.
|