Interface ITreeAlgorithm
Interface ITreeAlgorithm
Namespace: Aspose.Tasks.Util
Assembly: Aspose.Tasks.dll (25.2.0)
Represents an algorithm that can be applied to a tree of objects T
.
public interface ITreeAlgorithm<in t="">
Type Parameters
T
The type of object to apply method interface to.
Methods
Alg(T, int)
Processes a node of a tree.
void Alg(T el, int level)
Parameters
el
T
Node to process.
level
int
Tree node level.
PostAlg(T, int)
Called after processing of a node of a tree.
void PostAlg(T el, int level)
Parameters
el
T
Node to process.
level
int
Tree node level.
PreAlg(T, int)
Called before processing of a node of a tree.
void PreAlg(T el, int level)
Parameters
el
T
Node to process.
level
int
Tree node level.