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 | |
Func<T, T> | getNext |
Returns
Type | Description |
---|---|
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 |
---|---|---|
IEnumerable<T> | items | |
Func<T, T> | getNext |
Returns
Type | Description |
---|---|
IEnumerable<T> |
Type Parameters
Name | Description |
---|---|
T |