Class ValidationBuilder
Namespace: Aspose.Html.Accessibility
Assembly: Aspose.HTML.dll (25.2.0)
The ValidationBuilder class provides concrete implementations of the configuration steps. Defines methods and settings for a class ValidationSettings.
[ComVisible(true)]
public class ValidationBuilder
Inheritance
Inherited Members
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Properties
All
Includes all levels and all technologies settings
public static ValidationBuilder All { get; }
Property Value
Default
Default settings: only General technologies is used and for Lowest criterion level
public static ValidationBuilder Default { get; }
Property Value
None
None settings - none of the parameters are specified.
public static ValidationBuilder None { get; }
Property Value
Methods
AllLevels()
A method that sets all criteria levels. And indicates that the document will be checked according to the criteria of all three levels.
public ValidationBuilder AllLevels()
Returns
set levels and init settings.
AllTechnologies()
A method that sets all technologies to test criterion
public ValidationBuilder AllTechnologies()
Returns
set technologies and init in settings.
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
public ValidationBuilder SetHTMLTags(params string[] tags)
Parameters
tags
string[]
list of html tag - where value is a string description of the tag
Returns
set tags and init in settings.
UseCSS()
A method that includes CSS technologies in a set of rules
public ValidationBuilder UseCSS()
Returns
set technologies types and init in settings.
UseFailures()
A method that includes Failures in a set of rules
public ValidationBuilder UseFailures()
Returns
set technologies types and init in settings.
UseGeneral()
A method that includes General technologies in a set of rules
public ValidationBuilder UseGeneral()
Returns
set technologies types and init in settings.
UseHTML()
A method that includes HTML technologies in a set of rules
public ValidationBuilder UseHTML()
Returns
set technologies types and init in settings.
UseHighestLevel()
Use Highest Level AAA of Criterion in Rules
public ValidationBuilder UseHighestLevel()
Returns
set levels and init in settings.
UseLowestLevel()
Use Lowest Level A of Criterion in Rules
public ValidationBuilder UseLowestLevel()
Returns
set levels and init settings.
UseMiddleLevel()
Use Middle Level AA of Criterion in Rules
public ValidationBuilder UseMiddleLevel()
Returns
set levels and init in settings.
UseScript()
A method that includes ClientSideScript technologies in a set of rules
public ValidationBuilder UseScript()
Returns
set technologies types and init in settings.