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.
c#
public abstract class NodeValidator<TBaseNode, TNode> : NodeProcessor<TBaseNode, TNode>
where TBaseNode : Node<TBaseNode>
where TNode : TBaseNodeType Parameters ​
| Name | Description |
|---|---|
TBaseNode | The base type of nodes in the tree. |
TNode | The type of nodes to validate. |
Constructors ​
| Name | Description |
|---|---|
NodeValidator() |
Methods ​
| Name | Description |
|---|---|
Process(TNode) | Performs processing on the specified node. Does not process any descendants. |
Validate(TNode) | Validates the specified node. |