OrderedLiveQuery struct¶
Attributes: [DebuggerDisplay("OrderedLiveQuery")]
Defined in
Namespace: ReactiveList.Reactive.Queries
Assembly: ReactiveList.Reactive.dll
Full name: ReactiveList.Reactive.Queries.OrderedLiveQuery<T>
Modifiers: public sealed
Summary¶
View source (opens in a new tab)
A live query whose items are ordered. Over an ordered source such as a list, items that compare equal keep source order. Over a sharded
source, which has no order, they keep the order in which the view received them, so add a final key that is unique when ties matter.
Applies to
net11.0, net10.0, net47, net471, net472, net48, net481
Class hierarchy
classDiagram
class OrderedLiveQuery~T~
class IEquatable~OrderedLiveQuery~T~~ {
<>
}
IEquatable~OrderedLiveQuery~T~~ <|.. OrderedLiveQuery~T~
Implements: IEquatable
Methods¶
| Name | Summary |
|---|---|
| Where | Keeps the items that satisfy a condition. The items that remain keep their order. |
| Select | Projects each ordered item into a new form. The projections keep the order of the items they come from. |
| ThenBy | Breaks ties ascending by another key. |
| ThenByDescending | Breaks ties descending by another key. |
| GroupBy | Groups the ordered items by a key. Members of each group keep the query's order. |
| Take | Exposes only the first items. |
| Skip | Leaves out the first items. |
| SelectMany | Merges the observable each item produces into one sequence. The order does not affect the result. |
| Count | Reports how many items the query includes, now and whenever the number changes. |
| Any | Reports whether the query includes any item, now and whenever that changes. |
| Contains | Reports whether the query includes an item, now and whenever that changes. |
| ToView | Creates a view with the default scheduler and throttle. |
| ToString | Returns the fully qualified type name of this instance. |
| GetHashCode | Returns the hash code for this instance. |
| Equals | Indicates whether this instance and a specified object are equal. |
Operators¶
| Name | Summary |
|---|---|
| static op_Inequality | |
| static op_Equality |