Class ValidationResult
Class ValidationResult
Namespace: Aspose.Html.Accessibility.Results
Assembly: Aspose.HTML.dll (25.1.0)
主结果类,包含来自 AccessibilityRules 对象的所有准则的结果。
[ComVisible(true)]
public class ValidationResult
继承
继承成员
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
属性
详细信息
验证结果详细信息
public IList<rulevalidationresult> Details { get; }
属性值
IList<RuleValidationResult>
成功
验证的结果。
public bool Success { get; }
属性值
方法
SaveTo(TextWriter, ValidationResultSaveFormat)
将验证结果保存到 System.IO.TextWriter 对象
public void SaveTo(TextWriter writer, ValidationResultSaveFormat format)
参数
writer
TextWriter
System.IO.TextWriter 的对象
format
ValidationResultSaveFormat
验证结果将保存的格式
SaveTo(TextWriter)
将验证结果保存到 System.IO.TextWriter 对象
public void SaveTo(TextWriter writer)
参数
writer
TextWriter
System.IO.TextWriter 的对象
SaveToString()
将验证结果保存为字符串
public string SaveToString()
返回
包含结果的字符串