IndexOf<>(source, predicate, startIndex) IndexOf<>(source, element, comparer) JoinString<>(values, separator, prefix, suffix, lastSeparator) Order<>(source, comparer) SkipLast<>(source, count, throwIfNotEnough) Split<>(splitWhat, splitWhere) Split<>(source, chunkSize) ToDictionary2<>(source, key1Selector, key2Selector, comparer1, comparer2) ToDictionary2<>(source, key1Selector, key2Selector, elementSelector, comparer1, comparer2)
Legend Class Struct Enum Interface Delegate | Constructor Method Property Event Field |
| Extension method: IEnumerable<T> SelectChain<T>(this T, Func<T, T>)Declarationpublic static IEnumerable<T> SelectChain<T>(
this T obj,
Func<T, T> next
) Summary
Enumerates a chain of objects where each object refers to the next one. The chain starts with the specified
object and ends when null is encountered. Generic type parametersT |
Type of object to enumerate. |
Parametersthis T | obj |
Initial object. | Func<T, T> | next |
A function that returns the next object given the current one. If null is returned, enumeration will end. |
|