Show / Hide Table of Contents

Class ValidationResult

The return type for all validation methods.

Inheritance
object
ValidationResult
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: CycloneDX.Models
Assembly: CycloneDX.Core.dll
Syntax
public class ValidationResult

Properties

| Edit this page 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<string>
| Edit this page View Source

Valid

true if the document has been successfully validated.

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

Methods

| Edit this page View Source

ToString()

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX