Class ConsistencyService
Represents the Consistency Service provided by a Pellet Server.
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.Query.Inference.Pellet.Services
Assembly: dotNetRDF.dll
Syntax
public class ConsistencyService : PelletService
Methods
| Improve this Doc View SourceIsConsistent()
Returns whether the Knowledge Base is consistent.
Declaration
public bool IsConsistent()
Returns
Type | Description |
---|---|
System.Boolean |
IsConsistent(PelletConsistencyCallback, Object)
Determines whether the Knowledge Base is consistent.
Declaration
public void IsConsistent(PelletConsistencyCallback callback, object state)
Parameters
Type | Name | Description |
---|---|---|
PelletConsistencyCallback | callback | Callback to invoke when the operation completes. |
System.Object | state | State to be passed to the callback. |
Remarks
If the operation succeeds the callback will be invoked normally, if there is an error the callback will be invoked with a instance of AsyncError passed as the state which provides access to the error message and the original state passed in.