[This is preliminary documentation and is subject to change.]
The
CollectionUtils type exposes the following members.
| Name | Description |
---|
  | AddRange TKey, TValue |
Add all values from range sequence to src IDictionary. Source is actually modified.
|
  | AppendToNew T |
Returns a new array that contains source elements with additional elements appended at the end
|
  | Distinct TResult, TKey | |
  | FirstMax TResult, TComparand (IEnumerable TResult , Func TResult, TComparand ) | |
  | FirstMax TResult, TComparand (IEnumerable TResult , Func TResult, TComparand , TComparand ) | |
  | FirstMin TResult, TComparand (IEnumerable TResult , Func TResult, TComparand ) | |
  | FirstMin TResult, TComparand (IEnumerable TResult , Func TResult, TComparand , TComparand ) | |
  | FirstOrAnyOrDefault TResult |
Tries to find the first element that matches the predicate and returns it,
otherwise returns the first element found or default (i.e. null)
|
  | ForEach T (IEnumerable T , Action T ) |
Runs some method over each element of src sequence
|
  | ForEach T (IEnumerable T , Action T, Int32 ) |
Runs some method over each element of src sequence
|
  | SkipLast T (IEnumerable T ) |
Takes all elements except for last element from the given source
|
  | SkipLast T (IEnumerable T , Int32) |
Takes all but last N elements from the source
|
Back to Top