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. |
valid | Whether the Syntax was valid. |
System. |
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. |
valid | Whether the Syntax was valid. |
System. |
message | Validation Message. |
System. |
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. |
valid | Whether the Syntax was valid. |
System. |
message | Validation Message. |
System. |
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. |
valid | Whether the Syntax was valid. |
System. |
message | Validation Message. |
System. |
result | Results Object. |
System. |
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. |
valid | Whether the Syntax was valid. |
System. |
message | Validation Message. |
System. |
result | Results Object. |
System. |
warnings | Enumeration of Warnings. |
System. |
error | Error that occurred. |
SyntaxValidationResults(String, Exception)
Creates new Syntax Validation Results.
Declaration
public SyntaxValidationResults(string message, Exception error)
Parameters
Type | Name | Description |
---|---|---|
System. |
message | Validation Message. |
System. |
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. |
IsValid
Whether the Syntax was valid.
Declaration
public bool IsValid { get; }
Property Value
Type | Description |
---|---|
System. |
Message
Gets the Validation Message.
Declaration
public string Message { get; }
Property Value
Type | Description |
---|---|
System. |
Result
Gets the Result Object that was produced.
Declaration
public object Result { get; }
Property Value
Type | Description |
---|---|
System. |
Warnings
Gets the Warnings that were produced.
Declaration
public IEnumerable<string> Warnings { get; }
Property Value
Type | Description |
---|---|
System. |