Skip to content

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> (opens in a new tab)

Methods

NameSummary
WhereKeeps the items that satisfy a condition. The items that remain keep their order.
SelectProjects each ordered item into a new form. The projections keep the order of the items they come from.
ThenByBreaks ties ascending by another key.
ThenByDescendingBreaks ties descending by another key.
GroupByGroups the ordered items by a key. Members of each group keep the query's order.
TakeExposes only the first items.
SkipLeaves out the first items.
SelectManyMerges the observable each item produces into one sequence. The order does not affect the result.
CountReports how many items the query includes, now and whenever the number changes.
AnyReports whether the query includes any item, now and whenever that changes.
ContainsReports whether the query includes an item, now and whenever that changes.
ToViewCreates a view with the default scheduler and throttle.
ToStringReturns the fully qualified type name of this instance.
GetHashCodeReturns the hash code for this instance.
EqualsIndicates whether this instance and a specified object are equal.

Operators

NameSummary
static op_Inequality
static op_Equality