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 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<System.String> |
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 SourceToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |