# WithAll

> Specify all read-only component types that must be present and enabled on matching entities.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Entities](/engine/7000.0/script-reference/unity/entities.md)
* **Assembly:** UnityEngine.EntitiesModule

## WithAll\<T>()

Specify all read-only component types that must be present and enabled on matching entities.

```csharp
public SystemAPIQueryBuilder WithAll<T1>()
```

### Returns

| Type                                                                                             | Description                                                         |
| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------- |
| [SystemAPIQueryBuilder](/engine/7000.0/script-reference/unity/entities/systemapiquerybuilder.md) | This query builder object, to allow chaining multiple method calls. |

## WithAll\<T, U>()

Specify all read-only component types that must be present and enabled on matching entities.

```csharp
public SystemAPIQueryBuilder WithAll<T1, T2>()
```

### Returns

| Type                                                                                             | Description                                                         |
| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------- |
| [SystemAPIQueryBuilder](/engine/7000.0/script-reference/unity/entities/systemapiquerybuilder.md) | This query builder object, to allow chaining multiple method calls. |

## WithAll\<T, U, V>()

Specify all read-only component types that must be present and enabled on matching entities.

```csharp
public SystemAPIQueryBuilder WithAll<T1, T2, T3>()
```

### Returns

| Type                                                                                             | Description                                                         |
| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------- |
| [SystemAPIQueryBuilder](/engine/7000.0/script-reference/unity/entities/systemapiquerybuilder.md) | This query builder object, to allow chaining multiple method calls. |

## WithAll\<T, U, V, W>()

Specify all read-only component types that must be present and enabled on matching entities.

```csharp
public SystemAPIQueryBuilder WithAll<T1, T2, T3, T4>()
```

### Returns

| Type                                                                                             | Description                                                         |
| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------- |
| [SystemAPIQueryBuilder](/engine/7000.0/script-reference/unity/entities/systemapiquerybuilder.md) | This query builder object, to allow chaining multiple method calls. |

## WithAll\<T, U, V, W, X>()

Specify all read-only component types that must be present and enabled on matching entities.

```csharp
public SystemAPIQueryBuilder WithAll<T1, T2, T3, T4, T5>()
```

### Returns

| Type                                                                                             | Description                                                         |
| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------- |
| [SystemAPIQueryBuilder](/engine/7000.0/script-reference/unity/entities/systemapiquerybuilder.md) | This query builder object, to allow chaining multiple method calls. |

## WithAll\<T, U, V, W, X, Y>()

Specify all read-only component types that must be present and enabled on matching entities.

```csharp
public SystemAPIQueryBuilder WithAll<T1, T2, T3, T4, T5, T6>()
```

### Returns

| Type                                                                                             | Description                                                         |
| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------- |
| [SystemAPIQueryBuilder](/engine/7000.0/script-reference/unity/entities/systemapiquerybuilder.md) | This query builder object, to allow chaining multiple method calls. |

## WithAll\<T, U, V, W, X, Y, Z>()

Specify all read-only component types that must be present and enabled on matching entities.

```csharp
public SystemAPIQueryBuilder WithAll<T1, T2, T3, T4, T5, T6, T7>()
```

### Returns

| Type                                                                                             | Description                                                         |
| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------- |
| [SystemAPIQueryBuilder](/engine/7000.0/script-reference/unity/entities/systemapiquerybuilder.md) | This query builder object, to allow chaining multiple method calls. |
