Skip to main content

Definition

Assembly: System.Runtime.dll Namespace: System.Collections.Generic

Syntax

System.Collections.Generic.IEnumerable<T>

Summary

This type is defined in System.Runtime.

Remarks

See Microsoft documentation for more information about the rest of the API.

Methods

Traverse Extension

Extension method from CloudNimble.BlazorEssentials.Extensions.ListExtensions
Return item and all children recursively.

Syntax

public static System.Collections.Generic.IEnumerable<T> Traverse<T>(System.Collections.Generic.IEnumerable<T> items, System.Func<T, System.Collections.Generic.IEnumerable<T>> childSelector)

Parameters

NameTypeDescription
itemsSystem.Collections.Generic.IEnumerable<T>-
childSelectorSystem.Func<T, System.Collections.Generic.IEnumerable<T>>-

Returns

Type: System.Collections.Generic.IEnumerable<T>

Type Parameters

  • T -

Remarks

https://stackoverflow.com/a/32655815/403765