using System; using System.Collections.Generic; using System.Text; using PlugViewer.TreeViewNodes; namespace PlugViewer.Warnings { /// /// The base class for all Warnings. /// public abstract class BaseWarning { /// /// The type of node this warning 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 warning. /// public abstract string Name { get; } /// /// Gets the description of the warning, /// and how it applies in the current situation. /// public abstract string Description { get; } } }