Skip to content

LiveView class

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

Defined in

Namespace: ReactiveList.Reactive.Queries Assembly: ReactiveList.Reactive.dll Full name: ReactiveList.Reactive.Queries.LiveView<T> Modifiers: public sealed

Summary

View source (opens in a new tab)

A read-only, observable view of the items a live query includes.

Applies to

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

Class hierarchy
classDiagram
class LiveView~T~
class IReadOnlyList~T~ {
    <>
}
IReadOnlyList~T~ <|.. LiveView~T~
class IEnumerable~T~ {
    <>
}
IEnumerable~T~ <|.. LiveView~T~
class IEnumerable {
    <>
}
IEnumerable <|.. LiveView~T~
class IReadOnlyCollection~T~ {
    <>
}
IReadOnlyCollection~T~ <|.. LiveView~T~
class INotifyCollectionChanged {
    <>
}
INotifyCollectionChanged <|.. LiveView~T~
class INotifyPropertyChanged {
    <>
}
INotifyPropertyChanged <|.. LiveView~T~
class IReactiveView~LiveView~T~, T~ {
    <>
}
IReactiveView~LiveView~T~, T~ <|.. LiveView~T~
class IDisposable {
    <>
}
IDisposable <|.. LiveView~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)

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 view.
ItemsGets the read-only observable collection for UI binding.
this[]Gets the item at the specified index.

Methods

NameSummary
GetEnumeratorEnumerates a snapshot of the view's items.
RefreshForces a rebuild of the view from the source.
ToPropertyAssigns the items collection 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