NodeValidator<TBaseNode, TNode> Class
Definition
A NodeProcessor<TBaseNode, TNode> for validating nodes of a specific type in a tree. Any Messages returned by validation are added to the node.
public abstract class NodeValidator<TBaseNode, TNode> : NodeProcessor<TBaseNode, TNode>
where TBaseNode : Node<TBaseNode>
where TNode : TBaseNode
View source
Type Parameters
| Name |
Description |
TBaseNode |
The base type of nodes in the tree. |
TNode |
The type of nodes to validate. |
Constructors
Methods
| Name |
Description |
Process(TNode) |
Performs processing on the specified node. Does not process any descendants. |
Validate(TNode) |
Validates the specified node. |