MetalamaAPI documentationAspect APIMetalama.​Framework.​Code.​CollectionsEnumerable­ExtensionsSelect­Recursive
Open sandboxFocus

EnumerableExtensions.SelectRecursive Method

SelectRecursive<T>(T, Func<T, T>)

Declaration
public static IEnumerable<T> SelectRecursive<T>(T item, Func<T, T> getNext)
where T : class, ICompilationElement
Parameters
Type Name Description
T item
System.Func<T, T> getNext
Returns
Type Description
System.Collections.Generic.IEnumerable<T>
Type Parameters
Name Description
T

SelectRecursive<T>(IEnumerable<T>, Func<T, T>)

Declaration
public static IEnumerable<T> SelectRecursive<T>(this IEnumerable<T> items, Func<T, T> getNext)
where T : class, ICompilationElement
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<T> items
System.Func<T, T> getNext
Returns
Type Description
System.Collections.Generic.IEnumerable<T>
Type Parameters
Name Description
T