Read |
public abstract class ReadOnlyObservableCollectionAdapter<T, TList> : ReadOnlyCollection<T>, IObservableCollection<T>, IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged where TList : class, Object, IList<T>, INotifyCollectionChanged, INotifyPropertyChanged
The ReadOnlyObservableCollectionAdapterT, TList type exposes the following members.
Name | Description | |
---|---|---|
ReadOnlyObservableCollectionAdapterT, TList | Initializes a new instance of the ReadOnlyObservableCollectionAdapterT, TList class. |
Name | Description | |
---|---|---|
Items | Returns the collection that the ReadOnlyObservableCollectionAdapterT, TList wraps. |
Name | Description | |
---|---|---|
OnCollectionChanged | Raises the CollectionChanged event. | |
OnPropertyChanged | Raises the PropertyChanged event. |
Name | Description | |
---|---|---|
CollectionChanged | Occurs when the collection changes. | |
PropertyChanged | Occurs when a property value changes. |
Name | Description | |
---|---|---|
AddRangeT |
Adds the elements of the specified collection to the end of the list.
(Defined by CollectionExtensions) | |
AddRangeT |
Adds the elements of the specified collection to the end of the list.
(Defined by CollectionExtensions) | |
ContainsAnyT |
Shortcut to test if any of the given items are contained in the specified object.
(Defined by CollectionExtensions) | |
ContainsAnyT |
Shortcut to test if any of the given items are contained in the specified object.
(Defined by CollectionExtensions) | |
ExceptNullItemsT |
Filters a sequence of values based on their nullness.
(Defined by NullableExtensions) | |
FindIndexT |
Searches for an element that matches the conditions defined by the specified predicate,
and returns the zero-based index of the first occurrence within the entire IEnumerableT.
(Defined by CollectionExtensions) | |
ForEachT |
Performs the specified action on each element of the collection.
(Defined by CollectionExtensions) | |
ForEachT |
Performs the specified action on each element of the collection, providing also the index of the item.
(Defined by CollectionExtensions) | |
IndexOfT |
Searches for the specified object and returns the zero-based index of the first occurrence within all items.
(Defined by CollectionExtensions) | |
IndexOfT |
Searches for the specified object and returns the zero-based index of the first occurrence within all items.
(Defined by CollectionExtensions) | |
ObservableCastTTarget |
Returns an observable collection of objects of type TTarget that mirrors the source collection.
(Defined by ObservableExtensions) | |
ObservableSelectT, TTarget |
Projects each element of a sequence into a new form.
(Defined by ObservableExtensions) | |
ObservableSelectManyT, TTarget |
Projects each element of a sequence to an IListT,
flattens the resulting sequences into one sequence, and invokes a result selector function on each element therein.
If the source is an observable collection, the resulting sequence will track the changes.
(Defined by ObservableExtensions) | |
ObservableWhereT |
Returns an observable collection of objects of type T that contains all items of the source collection that pass the filter.
See ObservableFilteredCollectionT for details.
(Defined by ObservableExtensions) | |
RemoveRangeT |
Removes a range of elements from the list.
(Defined by CollectionExtensions) | |
RemoveWhereT |
Removes the range of elements from the list that fulfill the condition.
(Defined by CollectionExtensions) | |
SafeCastT |
Performs a cast from object to T, avoiding possible null violations if T is a value type.
(Defined by ObjectExtensions) | |
SynchronizeWithT |
Synchronizes the items of the source list with the items of the target list. The order of the items is ignored.
(Defined by CollectionExtensions) | |
SynchronizeWithT |
Synchronizes the items of the source list with the items of the target list. The order of the items is ignored.
(Defined by CollectionExtensions) | |
ToArrayT, TTarget |
Creates an array from a ICollectionT.
This method is faster than using Enumerable.Select(selector).ToArray() because the size of the target array is known in advance.
(Defined by CollectionExtensions) | |
TryAddRangeT |
Adds the elements of the specified collection to the end of the list, but ignores all ArgumentException, e.g. when trying to add duplicate keys to a dictionary.
(Defined by CollectionExtensions) |