Skip to content

Validator<TBaseNode> Class ​

Definition ​

A Processor<TBaseNode> for validating nodes in a tree. Any Messages returned by validation are added to the node.

c#
public abstract class Validator<TBaseNode> : Processor<TBaseNode>
   where TBaseNode : Node<TBaseNode>

View source

Type Parameters ​

NameDescription
TBaseNodeThe base type of nodes in the tree.

Constructors ​

NameDescription
Validator()

Methods ​

NameDescription
Process(TBaseNode)Performs processing on the specified node. Does not process any descendants.
Validate(TBaseNode)Validates the specified node.