ValidationBuilder Class

ValidationBuilder class

The ValidationBuilder class provides concrete implementations of the configuration steps. Defines methods and settings for a class ValidationSettings.

public class ValidationBuilder

Properties

NameDescription
static All { get; }Includes all levels and all technologies settings
static Default { get; }Default settings: only General technologies is used and for Lowest criterion level
static None { get; }None settings - none of the parameters are specified.

Methods

NameDescription
AllLevels()A method that sets all criteria levels. And indicates that the document will be checked according to the criteria of all three levels.
AllTechnologies()A method that sets all technologies to test criterion
SetHTMLTags(params string[])List of html tags to check If the tags are not specified explicitly, then the tags array is empty and the check passes through all
UseCSS()A method that includes CSS technologies in a set of rules
UseFailures()A method that includes Failures in a set of rules
UseGeneral()A method that includes General technologies in a set of rules
UseHighestLevel()Use Highest Level AAA of Criterion in Rules
UseHTML()A method that includes HTML technologies in a set of rules
UseLowestLevel()Use Lowest Level A of Criterion in Rules
UseMiddleLevel()Use Middle Level AA of Criterion in Rules
UseScript()A method that includes ClientSideScript technologies in a set of rules

See Also