Method WithPresent
WithPresent<T>(ForEachLambdaJobDescription)
Add qualification to the generated query that it should only return entities that have all of the specified component type, whether or not it is enabled on each entity.
Declaration
public static ForEachLambdaJobDescription WithPresent<T>(this ForEachLambdaJobDescription description)Parameters
| Type | Name | Description | 
|---|---|---|
| ForEachLambdaJobDescription | description | The target object | 
Returns
| Type | Description | 
|---|---|
| ForEachLambdaJobDescription | The target object, suitable for chaining multiple methods | 
Type Parameters
| Name | Description | 
|---|---|
| T | First type of component | 
WithPresent<T1, T2>(ForEachLambdaJobDescription)
Add qualification to the generated query that it should only return entities that have all of the specified component type, whether or not it is enabled on each entity.
Declaration
public static ForEachLambdaJobDescription WithPresent<T1, T2>(this ForEachLambdaJobDescription description)Parameters
| Type | Name | Description | 
|---|---|---|
| ForEachLambdaJobDescription | description | The target object | 
Returns
| Type | Description | 
|---|---|
| ForEachLambdaJobDescription | The target object, suitable for chaining multiple methods | 
Type Parameters
| Name | Description | 
|---|---|
| T1 | First type of component | 
| T2 | Second type of component | 
WithPresent<T1, T2, T3>(ForEachLambdaJobDescription)
Add qualification to the generated query that it should only return entities that have all of the specified component type, whether or not it is enabled on each entity.
Declaration
public static ForEachLambdaJobDescription WithPresent<T1, T2, T3>(this ForEachLambdaJobDescription description)Parameters
| Type | Name | Description | 
|---|---|---|
| ForEachLambdaJobDescription | description | The target object | 
Returns
| Type | Description | 
|---|---|
| ForEachLambdaJobDescription | The target object, suitable for chaining multiple methods | 
Type Parameters
| Name | Description | 
|---|---|
| T1 | First type of component | 
| T2 | Second type of component | 
| T3 | Third type of component |