Class SyntaxValidationResults
Represents Syntax Validation Results.
Inheritance
System.Object
SyntaxValidationResults
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: VDS.RDF.Parsing.Validation
Assembly: dotNetRDF.dll
Syntax
public class SyntaxValidationResults : ISyntaxValidationResults
Constructors
| Improve this Doc View SourceSyntaxValidationResults(Boolean, 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. |
System.String | message | Validation Message. |
SyntaxValidationResults(Boolean, 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. |
System.String | message | Validation Message. |
System.Exception | error | Error that occurred. |
SyntaxValidationResults(Boolean, 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. |
System.String | message | Validation Message. |
System.Object | result | Results Object. |
SyntaxValidationResults(Boolean, 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. |
System.String | message | Validation Message. |
System.Object | result | Results Object. |
System.Collections.Generic.IEnumerable<System.String> | warnings | Enumeration of Warnings. |
SyntaxValidationResults(Boolean, 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. |
System.String | message | Validation Message. |
System.Object | result | Results Object. |
System.Collections.Generic.IEnumerable<System.String> | warnings | Enumeration of Warnings. |
System.Exception | error | Error that occurred. |
SyntaxValidationResults(String, Exception)
Creates new Syntax Validation Results.
Declaration
public SyntaxValidationResults(string message, Exception error)
Parameters
Type | Name | Description |
---|---|---|
System.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 |
---|---|
System.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<System.String> |