Delegate EntityValidator
Delegate to implement the Validate(EntityCollection, IEnvironment) method independently from any custom transformation descriptor class.
Namespace: TreeProblemFramework.Description.Transformations
Parameters
| Type | Name | Description |
|---|---|---|
| EntityCollection | targetEntities | The collection of IEntity objects to check whether their properties are meant to be mutated or modified. |
| IEnvironment | env | The current IEnvironment object (the current state of the puzzle). |
Returns
| Type | Description |
|---|---|
| System.Boolean | True if the actions defined for the current transformation are to be executed on the specified IEntity objects. False they are not. |