Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Static class: RT.Util.ExtensionMethods.IQueryableExtensions

Summary

Provides extension methods on the collection type.

Static methods

IQueryable<Tuple<T, T>>
AllPairs<T>(this IQueryable<T> source)
Returns an enumeration of tuples containing all pairs of elements from the source collection. For example, the input sequence 1, 2 yields the pairs [1,1], [1,2], [2,1], and [2,2].
IQueryable<T>
Concat<T>(this IQueryable<T> input, T element)
Adds a single element to the end of an IQueryable.
IQueryable<Tuple<T, T>>
ConsecutivePairs<T>(this IQueryable<T> source, bool closed)
Returns an enumeration of tuples containing all consecutive pairs of the elements. (see also remarks)
T
FirstOrDefault<T>(this IQueryable<T> source, T default)
Returns the first element of a sequence, or a default value if the sequence contains no elements.
T
FirstOrDefault<T>(this IQueryable<T> source, Expression<Func<T, bool>> predicate, T default)
TResult
FirstOrDefault<TSource, TResult>(this IQueryable<TSource> source, Expression<Func<TSource, bool>> predicate, Func<TSource, TResult> resultSelector, TResult default)
IQueryable<Tuple<T, U>>
Join<T, U>(this IQueryable<T> source, IQueryable<U> with)
Returns an enumeration of Tuple<T1, T2>s containing all ordered pairs of elements from the two source collections. For example, [1, 2].Join(["one", "two"]) results in the tuples [1, "one"], [1, "two"], [2, "one"] and [2, "two"].
IOrderedQueryable<T>
Order<T>(this IQueryable<T> source)
Returns an enumeration of the specified enumerable in sorted order.
IOrderedQueryable<T>
Order<T>(this IQueryable<T> source, IComparer<T> comparison)
IQueryable<Tuple<T, T>>
UniquePairs<T>(this IQueryable<T> source)
Returns an enumeration of tuples containing all unique pairs of distinct elements from the source collection. For example, the input sequence 1, 2, 3 yields the pairs [1,2], [1,3] and [2,3] only. (see also remarks)