FilterHelperFilterT Method |
Namespace: Lawo.ComponentModel
public static DisposableReadOnlyObservableCollection<T> Filter<T>( this ReadOnlyObservableCollection<T> originalItems, Predicate<T> predicate, IComparer<T> comparer )
Exception | Condition |
---|---|
ArgumentNullException | originalItems and/or predicate equal null. |
All operations on originalItems are automatically matched by an equivalent operation on the returned collection such that an item in the original collection for which predicate returns true will also appear in the returned collection.