Class SyntaxValidationResults
Represents Syntax Validation Results.
Inheritance
Implements
Inherited Members
Namespace: VDS.RDF.Parsing.Validation
Assembly: dotNetRdf.dll
Syntax
public class SyntaxValidationResults : ISyntaxValidationResults
Constructors
| Improve this Doc View SourceSyntaxValidationResults(bool, string, Exception)
Creates new Syntax Validation Results.
Declaration
public SyntaxValidationResults(bool valid, string message, Exception error)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | valid | Whether the Syntax was valid. |
string | message | Validation Message. |
System.Exception | error | Error that occurred. |
SyntaxValidationResults(bool, string, object, IEnumerable<string>, Exception)
Creates new Syntax Validation Results.
Declaration
public SyntaxValidationResults(bool valid, string message, object result, IEnumerable<string> warnings, Exception error)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | valid | Whether the Syntax was valid. |
string | message | Validation Message. |
System.Object | result | Results Object. |
System.Collections.Generic.IEnumerable<T><string> | warnings | Enumeration of Warnings. |
System.Exception | error | Error that occurred. |
SyntaxValidationResults(bool, string, object, IEnumerable<string>)
Creates new Syntax Validation Results.
Declaration
public SyntaxValidationResults(bool valid, string message, object result, IEnumerable<string> warnings)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | valid | Whether the Syntax was valid. |
string | message | Validation Message. |
System.Object | result | Results Object. |
System.Collections.Generic.IEnumerable<T><string> | warnings | Enumeration of Warnings. |
SyntaxValidationResults(bool, string, object)
Creates new Syntax Validation Results.
Declaration
public SyntaxValidationResults(bool valid, string message, object result)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | valid | Whether the Syntax was valid. |
string | message | Validation Message. |
System.Object | result | Results Object. |
SyntaxValidationResults(bool, string)
Creates new Syntax Validation Results.
Declaration
public SyntaxValidationResults(bool valid, string message)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | valid | Whether the Syntax was valid. |
string | message | Validation Message. |
SyntaxValidationResults(string, Exception)
Creates new Syntax Validation Results.
Declaration
public SyntaxValidationResults(string message, Exception error)
Parameters
Type | Name | Description |
---|---|---|
string | message | Validation Message. |
System.Exception | error | Error that occurred. |
Properties
| Improve this Doc View SourceError
Gets the Error that occurred.
Declaration
public Exception Error { get; }
Property Value
Type | Description |
---|---|
System.Exception |
IsValid
Whether the Syntax was valid.
Declaration
public bool IsValid { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Message
Gets the Validation Message.
Declaration
public string Message { get; }
Property Value
Type | Description |
---|---|
string |
Result
Gets the Result Object that was produced.
Declaration
public object Result { get; }
Property Value
Type | Description |
---|---|
System.Object |
Warnings
Gets the Warnings that were produced.
Declaration
public IEnumerable<string> Warnings { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<T><string> |