# Sandbox.ResourceLibrary.GetAll

## Overload 1

```csharp
static IEnumerable<T> GetAll()
```

Get all cached resources of given type.

### Returns

`IEnumerable<T>`

## Overload 2

```csharp
static IEnumerable<T> GetAll(string filepath, bool recursive = True)
```

Get all cached resources of given type in a specific folder.

### Parameters

- `filepath` (`string`): The path of the folder to check.
- `recursive` (`bool`), default `True`: Whether or not to check folders within the specified folder.

### Returns

`IEnumerable<T>`

Declared in [Sandbox.ResourceLibrary](/api/Sandbox.ResourceLibrary).
Assembly: `Sandbox.Engine`.
