> ## Documentation Index
> Fetch the complete documentation index at: https://easyaf.nimbleapps.cloud/llms.txt
> Use this file to discover all available pages before exploring further.

# IEnumerable

> Extension methods for IEnumerable from System.Runtime

## Definition

**Assembly:** System.Runtime.dll

**Namespace:** System.Collections.Generic

## Syntax

```csharp theme={"dark"}
System.Collections.Generic.IEnumerable<T>
```

## Summary

This type is defined in System.Runtime.

## Remarks

See [Microsoft documentation](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable\{t}) for more information about the rest of the API.

## Methods

### &#x20;Traverse Extension

> [!NOTE]
>
> Extension method from `CloudNimble.BlazorEssentials.Extensions.ListExtensions`

Return item and all children recursively.

#### Syntax

```csharp theme={"dark"}
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

| Name | Type | Description |
| - | - | - |
| `items` | `System.Collections.Generic.IEnumerable<T>` | - |
| `childSelector` | `System.Func<T, System.Collections.Generic.IEnumerable<T>>` | - |

#### Returns

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

#### Type Parameters

* `T` -

#### Remarks

[https://stackoverflow.com/a/32655815/403765](https://stackoverflow.com/a/32655815/403765)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.