Skip to content

FilteredReactiveView class

Attributes: [DefaultMember("Item")] [DebuggerDisplay("FilteredReactiveView: {Count}")]

Defined in

Namespace: ReactiveList.Reactive.Views Assembly: ReactiveList.Reactive.dll Full name: ReactiveList.Reactive.Views.FilteredReactiveView<T> Modifiers: public sealed

Summary

View source (opens in a new tab)

Provides a filtered, read-only view over an IReactiveList that updates when the source changes.

Applies to

net11.0, net10.0, net47, net471, net472, net48, net481

Class hierarchy
classDiagram
class FilteredReactiveView~T~
class IReadOnlyList~T~ {
    <>
}
IReadOnlyList~T~ <|.. FilteredReactiveView~T~
class IEnumerable~T~ {
    <>
}
IEnumerable~T~ <|.. FilteredReactiveView~T~
class IEnumerable {
    <>
}
IEnumerable <|.. FilteredReactiveView~T~
class IReadOnlyCollection~T~ {
    <>
}
IReadOnlyCollection~T~ <|.. FilteredReactiveView~T~
class INotifyCollectionChanged {
    <>
}
INotifyCollectionChanged <|.. FilteredReactiveView~T~
class INotifyPropertyChanged {
    <>
}
INotifyPropertyChanged <|.. FilteredReactiveView~T~
class IReactiveView~FilteredReactiveView~T~, T~ {
    <>
}
IReactiveView~FilteredReactiveView~T~, T~ <|.. FilteredReactiveView~T~
class IDisposable {
    <>
}
IDisposable <|.. FilteredReactiveView~T~

Implements: IReadOnlyList (opens in a new tab), IEnumerable (opens in a new tab), IEnumerable (opens in a new tab), IReadOnlyCollection (opens in a new tab), INotifyCollectionChanged (opens in a new tab), INotifyPropertyChanged (opens in a new tab), IReactiveView, T>, IDisposable (opens in a new tab)

Constructors

NameSummary
.ctorInitializes a new instance of the FilteredReactiveView class.

Properties

NameSummary
BatchResetLimitGets or sets the size above which one applied batch raises a single reset instead of one notification per item.
CountGets the number of items in the filtered view.
ItemsGets the underlying read-only observable collection for UI binding.
this[]Gets the item at the specified index.

Methods

NameSummary
GetEnumeratorReturns an enumerator that iterates through the collection.
RefreshForces a rebuild of the filtered view from the source.
ToPropertyAssigns the current collection of items to a property using the specified setter action.
DisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Events

NameSummary
CollectionChangedOccurs when the collection changes.
PropertyChangedOccurs when a property value changes.
Inherited members