Language-Integrated Query (LINQ) contains set of functions for work with arrays/lists/collections More...
Public Member Functions | |
| double | Max (IEnumerable List) |
| Computes the maximum value of a sequence of numeric values. More... | |
| double | Max (IEnumerable List, Func< object, object > selector) |
| Computes the maximum value of a sequence of elements converted by lambda expression to numeric value. More... | |
| object | MaxMember (IEnumerable List, Func< object, object > selector) |
| Return member with max property More... | |
| double | Min (IEnumerable List) |
| Computes the minimum value of a sequence of numeric values. More... | |
| double | Min (IEnumerable List, Func< object, object > selector) |
| Computes the minimum value of a sequence of elements converted by lambda expression to numeric value. More... | |
| object | MinMember (IEnumerable List, Func< object, object > selector) |
| Return member with min property More... | |
| double | Sum (IEnumerable List) |
| Computes the sum of a sequence of numeric values. More... | |
| double | Sum (IEnumerable List, Func< object, object > selector) |
| Computes the sum of a sequence of elements converted by lambda expression to numeric value. More... | |
| double | Average (IEnumerable List) |
| Computes the average of a sequence of numeric values. More... | |
| double | Average (IEnumerable List, Func< object, object > selector) |
| Computes the average of a sequence of elements converted by lambda expression to numeric value. More... | |
| IEnumerable< object > | Select (IEnumerable List, Func< object, object > selector) |
| Projects each element of a sequence into a new form defined by selector. More... | |
| IEnumerable< object > | Where (IEnumerable List, Func< object, object > predicate) |
| Filters a sequence of values based on a predicate. More... | |
| bool | Contains (IEnumerable List, Func< object, object > comparer) |
| Determines whether a sequence contains a element matching comparer criteria. More... | |
| object | First (IEnumerable List) |
| Returns the first element of a sequence. More... | |
| object | First (IEnumerable List, Func< object, object > predicate) |
| Returns the first element in a sequence that satisfies a specified condition. More... | |
| object | FirstOrDefault (IEnumerable List, Func< object, object > predicate) |
| Returns the first element of the sequence that satisfies a condition or a default value if no such element is found. More... | |
| object | Last (IEnumerable List) |
| Returns the last element of a sequence. More... | |
| object | Last (IEnumerable List, Func< object, object > predicate) |
| Returns the last element of a sequence that satisfies a specified condition. More... | |
| object | LastOrDefault (IEnumerable List, Func< object, object > predicate) |
| Returns the last element of the sequence that satisfies a condition or a default value if no such element is found. More... | |
| IEnumerable< object > | OrderBy (IEnumerable List, Func< object, object > selector) |
| Sorts the elements of a sequence in ascending order according to a selector. More... | |
| IEnumerable< object > | OrderByDescending (IEnumerable List, Func< object, object > selector) |
| Sorts the elements of a sequence in descending order according to a selector. More... | |
| IEnumerable< object > | Skip (IEnumerable List, double Count) |
| Bypasses a specified number of elements in a sequence and then returns the remaining elements. More... | |
| IEnumerable< object > | Distinct (IEnumerable List) |
| Returns distinct elements from a sequence by using the default equality comparer to compare values. More... | |
| IEnumerable< object > | ConcatLists (IEnumerable Lists, Func< object, object > selector) |
| Concat list of lists into one sequence More... | |
| List< object > | ToList (IEnumerable List) |
| Convert IEnumerable sequence to the list More... | |
Language-Integrated Query (LINQ) contains set of functions for work with arrays/lists/collections
| double Average | ( | IEnumerable | List | ) |
Computes the average of a sequence of numeric values.
| List | Collection of elements on which the operation will be applied. |
| double Average | ( | IEnumerable | List, |
| Func< object, object > | selector | ||
| ) |
Computes the average of a sequence of elements converted by lambda expression to numeric value.
| List | Collection of elements on which the operation will be applied. |
| selector | Operation which will be applied on each element of the collection. |
| IEnumerable<object> ConcatLists | ( | IEnumerable | Lists, |
| Func< object, object > | selector | ||
| ) |
Concat list of lists into one sequence
| Lists | List of enumerable sequences (list of lists) |
| selector | Selector applied to each list in the sequence |
| bool Contains | ( | IEnumerable | List, |
| Func< object, object > | comparer | ||
| ) |
Determines whether a sequence contains a element matching comparer criteria.
| List | Collection of elements on which the operation will be applied. |
| comparer | Condition describing requested element. |
| IEnumerable<object> Distinct | ( | IEnumerable | List | ) |
Returns distinct elements from a sequence by using the default equality comparer to compare values.
| List | Collection of elements on which the operation will be applied. |
| object First | ( | IEnumerable | List | ) |
Returns the first element of a sequence.
| List | Collection of elements on which the operation will be applied. |
| object First | ( | IEnumerable | List, |
| Func< object, object > | predicate | ||
| ) |
Returns the first element in a sequence that satisfies a specified condition.
| List | Collection of elements on which the operation will be applied. |
| predicate | A function to test each element for a condition. |
| object FirstOrDefault | ( | IEnumerable | List, |
| Func< object, object > | predicate | ||
| ) |
Returns the first element of the sequence that satisfies a condition or a default value if no such element is found.
| List | Collection of elements on which the operation will be applied. |
| predicate | A function to test each element for a condition. |
| object Last | ( | IEnumerable | List | ) |
Returns the last element of a sequence.
| List | Collection of elements on which the operation will be applied. |
| object Last | ( | IEnumerable | List, |
| Func< object, object > | predicate | ||
| ) |
Returns the last element of a sequence that satisfies a specified condition.
| List | Collection of elements on which the operation will be applied. |
| predicate | A function to test each element for a condition. |
| object LastOrDefault | ( | IEnumerable | List, |
| Func< object, object > | predicate | ||
| ) |
Returns the last element of the sequence that satisfies a condition or a default value if no such element is found.
| List | Collection of elements on which the operation will be applied. |
| predicate | A function to test each element for a condition. |
| double Max | ( | IEnumerable | List | ) |
Computes the maximum value of a sequence of numeric values.
| List | Collection of elements on which the operation will be applied. |
| double Max | ( | IEnumerable | List, |
| Func< object, object > | selector | ||
| ) |
Computes the maximum value of a sequence of elements converted by lambda expression to numeric value.
| List | Collection of elements on which the operation will be applied. |
| selector | Operation which will be applied on each element of the collection. |
| object MaxMember | ( | IEnumerable | List, |
| Func< object, object > | selector | ||
| ) |
Return member with max property
| List | List of members to iterated |
| selector | Definition of property used to identify extreme member |
| double Min | ( | IEnumerable | List | ) |
Computes the minimum value of a sequence of numeric values.
| List | Collection of elements on which the operation will be applied. |
| double Min | ( | IEnumerable | List, |
| Func< object, object > | selector | ||
| ) |
Computes the minimum value of a sequence of elements converted by lambda expression to numeric value.
| List | Collection of elements on which the operation will be applied. |
| selector | Operation which will be applied on each element of the collection. |
| object MinMember | ( | IEnumerable | List, |
| Func< object, object > | selector | ||
| ) |
Return member with min property
| List | List of members to iterated |
| selector | Definition of property used to identify extreme member |
| IEnumerable<object> OrderBy | ( | IEnumerable | List, |
| Func< object, object > | selector | ||
| ) |
Sorts the elements of a sequence in ascending order according to a selector.
| List | Collection of elements on which the operation will be applied. |
| selector | Operation which will be applied on each element of the collection. |
| IEnumerable<object> OrderByDescending | ( | IEnumerable | List, |
| Func< object, object > | selector | ||
| ) |
Sorts the elements of a sequence in descending order according to a selector.
| List | Collection of elements on which the operation will be applied. |
| selector | Operation which will be applied on each element of the collection. |
| IEnumerable<object> Select | ( | IEnumerable | List, |
| Func< object, object > | selector | ||
| ) |
Projects each element of a sequence into a new form defined by selector.
| List | Collection of elements on which the operation will be applied. |
| selector | Operation which will be applied on each element of the collection. |
| IEnumerable<object> Skip | ( | IEnumerable | List, |
| double | Count | ||
| ) |
Bypasses a specified number of elements in a sequence and then returns the remaining elements.
| List | Collection of elements on which the operation will be applied. |
| Count | The number of elements to skip before returning the remaining elements. |
| double Sum | ( | IEnumerable | List | ) |
Computes the sum of a sequence of numeric values.
| List | Collection of elements on which the operation will be applied. |
| double Sum | ( | IEnumerable | List, |
| Func< object, object > | selector | ||
| ) |
Computes the sum of a sequence of elements converted by lambda expression to numeric value.
| List | Collection of elements on which the operation will be applied. |
| selector | Operation which will be applied on each element of the collection. |
| List<object> ToList | ( | IEnumerable | List | ) |
Convert IEnumerable sequence to the list
| List | Enumerable sequence of objects to be converted to the list. |
| IEnumerable<object> Where | ( | IEnumerable | List, |
| Func< object, object > | predicate | ||
| ) |
Filters a sequence of values based on a predicate.
| List | Collection of elements on which the operation will be applied. |
| predicate | A function to test each element for a condition. |