Show / Hide Table of Contents

Class ValidationResult

The return type for all validation methods.

Inheritance
System.Object
ValidationResult
Namespace: CycloneDX.Models
Assembly: CycloneDX.Core.dll
Syntax
public class ValidationResult : object

Properties

| Improve this Doc View Source

Messages

When validation fails, has one or more messages detailing why validation failed.

Declaration
public IEnumerable<string> Messages { get; set; }
Property Value
Type Description
IEnumerable<System.String>
| Improve this Doc View Source

Valid

true if the document has been successfully validated.

Declaration
public bool Valid { get; set; }
Property Value
Type Description
System.Boolean

Methods

| Improve this Doc View Source

ToString()

Declaration
public override string ToString()
Returns
Type Description
System.String
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX