## TreeAlgorithmBase&lt;T&gt; class

A base class for implementations of [`ITreeAlgorithm`](../itreealgorithm-1/)

```csharp
public abstract class TreeAlgorithmBase<T> : ITreeAlgorithm<T>
```

| Parameter | Description |
| --- | --- |
| T | The type of the elements. |

## Methods

| Name | Description |
| --- | --- |
| abstract [Alg](../../aspose.tasks.util/treealgorithmbase-1/alg/)(T, int) | Processes a node of a tree. |
| virtual [PostAlg](../../aspose.tasks.util/treealgorithmbase-1/postalg/)(T, int) | Called after processing of a node of a tree. |
| virtual [PreAlg](../../aspose.tasks.util/treealgorithmbase-1/prealg/)(T, int) | Called before processing of a node of a tree. |

### See Also

* interface [ITreeAlgorithm&lt;T&gt;](../itreealgorithm-1/)
* namespace [Aspose.Tasks.Util](../../aspose.tasks.util/)
* assembly [Aspose.Tasks](../../)


