using System; using System.Collections.Generic; using System.Text; using PlugViewer.TreeViewNodes; namespace PlugViewer.Errors { /// /// The base class for all errors. /// public abstract class BaseError { /// /// The type of node this error can apply to. /// public abstract TreeNodeType AppliesTo { get; } /// /// Evaluate the given node. /// /// The node to evaluate. public abstract void EvaluateNode(OTreeNode node); /// /// Gets the name of the error. /// public abstract string Name { get; } /// /// Gets the description of the error, /// and how it applies in the current situation. /// public abstract string Description { get; } } }