Class ValidationResult

Class ValidationResult

Namespace: Aspose.Html.Accessibility.Results
Assembly: Aspose.HTML.dll (25.2.0)

The main result class, that contains Results for all Criterion from AccessibilityRules object.

[ComVisible(true)]
public class ValidationResult

Inheritance

objectValidationResult

Inherited Members

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Properties

Details

Validation result details

public IList<rulevalidationresult> Details { get; }

Property Value

IList<RuleValidationResult&gt;

Success

The result of validation.

public bool Success { get; }

Property Value

bool

Methods

SaveTo(TextWriter, ValidationResultSaveFormat)

Save validation results to the System.IO.TextWriter object

public void SaveTo(TextWriter writer, ValidationResultSaveFormat format)

Parameters

writer TextWriter

Object of System.IO.TextWriter

format ValidationResultSaveFormat

The format in which the validation result will be saved

SaveTo(TextWriter)

Save validation results to the System.IO.TextWriter object

public void SaveTo(TextWriter writer)

Parameters

writer TextWriter

Object of System.IO.TextWriter

SaveToString()

Save validation results to string

public string SaveToString()

Returns

string

string with results