Class ValidationResult
The return type for all validation methods.
Inherited Members
Namespace: CycloneDX.Spdx.Models
Assembly: CycloneDX.Spdx.dll
Syntax
public class ValidationResult
Properties
| Edit this page View SourceMessages
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> |
Valid
true if the document has been successfully validated.
Declaration
public bool Valid { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |