Class GraphPersistenceWrapper
The Graph Persistence Wrapper is a wrapper around another Graph that can be used to batch persistence actions with the ability to Flush/Discard changes as desired.
Inheritance
System.Object
GraphPersistenceWrapper
Implements
System.IDisposable
System.Xml.Serialization.IXmlSerializable
Inherited Members
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()
Assembly: dotNetRDF.dll
Syntax
[Serializable]
public class GraphPersistenceWrapper : ITransactionalGraph, IGraph, INodeFactory, IDisposable, IXmlSerializable
Constructors
|
Improve this Doc
View Source
GraphPersistenceWrapper()
Creates a new Graph Persistence Wrapper around a new Graph.
Declaration
public GraphPersistenceWrapper()
|
Improve this Doc
View Source
GraphPersistenceWrapper(Boolean)
Creates a new Graph Persistence Wrapper around a new Graph with the given always queue setting.
Declaration
public GraphPersistenceWrapper(bool alwaysQueueActions)
Parameters
Type |
Name |
Description |
System.Boolean |
alwaysQueueActions |
Whether to always queue actions. |
|
Improve this Doc
View Source
GraphPersistenceWrapper(SerializationInfo, StreamingContext)
Deserialization Constructor.
Declaration
protected GraphPersistenceWrapper(SerializationInfo info, StreamingContext context)
Parameters
Type |
Name |
Description |
System.Runtime.Serialization.SerializationInfo |
info |
Serialization Information. |
System.Runtime.Serialization.StreamingContext |
context |
Streaming Context. |
|
Improve this Doc
View Source
GraphPersistenceWrapper(IGraph)
Creates a new Graph Persistence Wrapper around the given Graph.
Declaration
public GraphPersistenceWrapper(IGraph g)
Parameters
Type |
Name |
Description |
IGraph |
g |
Graph. |
|
Improve this Doc
View Source
GraphPersistenceWrapper(IGraph, Boolean)
Creates a new Graph Persistence Wrapper around the given Graph with the given always queue setting.
Declaration
public GraphPersistenceWrapper(IGraph g, bool alwaysQueueActions)
Parameters
Type |
Name |
Description |
IGraph |
g |
Graph. |
System.Boolean |
alwaysQueueActions |
Whether to always queue actions. |
Fields
|
Improve this Doc
View Source
_g
Underlying Graph this is a wrapper around.
Declaration
protected readonly IGraph _g
Field Value
Properties
|
Improve this Doc
View Source
AllNodes
Gets the unique Subject, Predicate and Object nodes of the Graph.
Declaration
public IEnumerable<INode> AllNodes { get; }
Property Value
Type |
Description |
System.Collections.Generic.IEnumerable<INode> |
|
|
Improve this Doc
View Source
BaseUri
Gets/Sets the Base URI of the Graph.
Declaration
public Uri BaseUri { get; set; }
Property Value
Type |
Description |
System.Uri |
|
|
Improve this Doc
View Source
IsEmpty
Gets whether the Graph is empty.
Declaration
public bool IsEmpty { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
NamespaceMap
Gets the Namespace Map for the Graph.
Declaration
public INamespaceMapper NamespaceMap { get; }
Property Value
|
Improve this Doc
View Source
Nodes
Gets the unique Subject and Object nodes of the Graph.
Declaration
public IEnumerable<INode> Nodes { get; }
Property Value
Type |
Description |
System.Collections.Generic.IEnumerable<INode> |
|
|
Improve this Doc
View Source
SupportsTriplePersistence
Used to indicate whether the persistence mechanism can persist batches of Triples.
Declaration
protected virtual bool SupportsTriplePersistence { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Triples
Gets the Triple Collection for the Graph.
Declaration
public BaseTripleCollection Triples { get; }
Property Value
Methods
|
Improve this Doc
View Source
Assert(IEnumerable<Triple>)
Asserts Triples in the Graph.
Declaration
public bool Assert(IEnumerable<Triple> ts)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<Triple> |
ts |
Triples. |
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Assert(Triple)
Asserts a Triple in the Graph.
Declaration
public virtual bool Assert(Triple t)
Parameters
Type |
Name |
Description |
Triple |
t |
Triple. |
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
AttachEventHandlers(BaseTripleCollection)
Helper method for attaching the necessary event Handlers to a Triple Collection.
Declaration
protected void AttachEventHandlers(BaseTripleCollection tripleCollection)
Parameters
Remarks
|
Improve this Doc
View Source
Clear()
Clears the Graph.
Declaration
|
Improve this Doc
View Source
ContainsTriple(Triple)
Gets whether a given Triple exists in this Graph.
Declaration
public virtual bool ContainsTriple(Triple t)
Parameters
Type |
Name |
Description |
Triple |
t |
Triple to test. |
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
CreateBlankNode()
Creates a new Blank Node.
Declaration
public IBlankNode CreateBlankNode()
Returns
|
Improve this Doc
View Source
CreateBlankNode(String)
Creates a new Blank Node with the given Node ID.
Declaration
public IBlankNode CreateBlankNode(string nodeId)
Parameters
Type |
Name |
Description |
System.String |
nodeId |
Node ID. |
Returns
|
Improve this Doc
View Source
CreateGraphLiteralNode()
Creates a new Graph Literal Node.
Declaration
public IGraphLiteralNode CreateGraphLiteralNode()
Returns
|
Improve this Doc
View Source
CreateGraphLiteralNode(IGraph)
Creates a new Graph Literal Node with the given sub-graph.
Declaration
public IGraphLiteralNode CreateGraphLiteralNode(IGraph subgraph)
Parameters
Type |
Name |
Description |
IGraph |
subgraph |
Sub-graph. |
Returns
|
Improve this Doc
View Source
CreateLiteralNode(String)
Creates a new Literal Node.
Declaration
public ILiteralNode CreateLiteralNode(string literal)
Parameters
Type |
Name |
Description |
System.String |
literal |
Value. |
Returns
|
Improve this Doc
View Source
CreateLiteralNode(String, String)
Creates a new Literal Node with the given Language.
Declaration
public ILiteralNode CreateLiteralNode(string literal, string langspec)
Parameters
Type |
Name |
Description |
System.String |
literal |
Value. |
System.String |
langspec |
Language. |
Returns
|
Improve this Doc
View Source
CreateLiteralNode(String, Uri)
Creates a new Literal Node with the given Datatype.
Declaration
public ILiteralNode CreateLiteralNode(string literal, Uri datatype)
Parameters
Type |
Name |
Description |
System.String |
literal |
Value. |
System.Uri |
datatype |
Datatype URI. |
Returns
|
Improve this Doc
View Source
CreateUriNode()
Creates a new URI Node that references the Graphs Base URI.
Declaration
public IUriNode CreateUriNode()
Returns
|
Improve this Doc
View Source
CreateUriNode(String)
Creates a new URI Node from a QName.
Declaration
public IUriNode CreateUriNode(string qname)
Parameters
Type |
Name |
Description |
System.String |
qname |
QName. |
Returns
|
Improve this Doc
View Source
CreateUriNode(Uri)
Creates a new URI Node.
Declaration
public IUriNode CreateUriNode(Uri uri)
Parameters
Type |
Name |
Description |
System.Uri |
uri |
URI. |
Returns
|
Improve this Doc
View Source
CreateVariableNode(String)
Creates a new Variable Node.
Declaration
public IVariableNode CreateVariableNode(string varname)
Parameters
Type |
Name |
Description |
System.String |
varname |
Variable Name. |
Returns
|
Improve this Doc
View Source
DetachEventHandlers(BaseTripleCollection)
Helper method for detaching the necessary event Handlers from a Triple Collection.
Declaration
protected void DetachEventHandlers(BaseTripleCollection tripleCollection)
Parameters
Remarks
|
Improve this Doc
View Source
Difference(IGraph)
Computes the Difference between this Graph the given Graph.
Declaration
public GraphDiffReport Difference(IGraph g)
Parameters
Type |
Name |
Description |
IGraph |
g |
Graph. |
Returns
|
Improve this Doc
View Source
Discard()
Discards all changes which have yet to be persisted so that they are not persisted to the underlying storage.
Declaration
|
Improve this Doc
View Source
Dispose()
Disposes of the persistence wrapper and in doing so persists any changes to the underlying storage.
Declaration
|
Improve this Doc
View Source
Dispose(Boolean)
Disposes of the persistence wrapper and in doing so persists any changes to the underlying storage.
Declaration
protected void Dispose(bool disposing)
Parameters
Type |
Name |
Description |
System.Boolean |
disposing |
Whether the method was called from Dispose() or the destructor. |
|
Improve this Doc
View Source
Equals(Object)
Determines whether a Graph is equal to another Object.
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
Object to test. |
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.Object.Equals(System.Object)
|
Improve this Doc
View Source
Equals(IGraph, out Dictionary<INode, INode>)
Determines whether this Graph is equal to the given Graph.
Declaration
public bool Equals(IGraph g, out Dictionary<INode, INode> mapping)
Parameters
Type |
Name |
Description |
IGraph |
g |
Graph to test for equality. |
System.Collections.Generic.Dictionary<INode, INode> |
mapping |
Mapping of Blank Nodes iff the Graphs are equal and contain some Blank Nodes. |
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Finalize()
Destructor for the wrapper to ensure that
Dispose() is called and thus that persistence happens
Declaration
protected void Finalize()
|
Improve this Doc
View Source
Flush()
Flushes all changes which have yet to be persisted to the underlying storage.
Declaration
|
Improve this Doc
View Source
GetBlankNode(String)
Attempts to get the Blank Node with the given ID.
Declaration
public IBlankNode GetBlankNode(string nodeId)
Parameters
Type |
Name |
Description |
System.String |
nodeId |
Node ID. |
Returns
Type |
Description |
IBlankNode |
The Node if it exists or null. |
|
Improve this Doc
View Source
GetLiteralNode(String)
Attempts to get the Literal Node with the given Value.
Declaration
public ILiteralNode GetLiteralNode(string literal)
Parameters
Type |
Name |
Description |
System.String |
literal |
Value. |
Returns
Type |
Description |
ILiteralNode |
The Node if it exists or null. |
|
Improve this Doc
View Source
GetLiteralNode(String, String)
Attempts to get the Literal Node with the given Value and Language.
Declaration
public ILiteralNode GetLiteralNode(string literal, string langspec)
Parameters
Type |
Name |
Description |
System.String |
literal |
Value. |
System.String |
langspec |
Language. |
Returns
Type |
Description |
ILiteralNode |
The Node if it exists or null. |
|
Improve this Doc
View Source
GetLiteralNode(String, Uri)
Attempts to get the Literal Node with the given Value and Datatype.
Declaration
public ILiteralNode GetLiteralNode(string literal, Uri datatype)
Parameters
Type |
Name |
Description |
System.String |
literal |
Value. |
System.Uri |
datatype |
Datatype URI. |
Returns
Type |
Description |
ILiteralNode |
The Node if it exists or null otherwise. |
|
Improve this Doc
View Source
GetNextBlankNodeID()
Gets the next available Blank Node ID.
Declaration
public string GetNextBlankNodeID()
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
GetObjectData(SerializationInfo, StreamingContext)
Gets the Serialization Information.
Declaration
public void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type |
Name |
Description |
System.Runtime.Serialization.SerializationInfo |
info |
Serialization Information. |
System.Runtime.Serialization.StreamingContext |
context |
Streaming Context. |
|
Improve this Doc
View Source
GetSchema()
Gets the Schema for XML serialization.
Declaration
public XmlSchema GetSchema()
Returns
Type |
Description |
System.Xml.Schema.XmlSchema |
|
|
Improve this Doc
View Source
GetTriples(Uri)
Gets all the Triples involving the given URI.
Declaration
public IEnumerable<Triple> GetTriples(Uri uri)
Parameters
Type |
Name |
Description |
System.Uri |
uri |
The URI to find Triples involving. |
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<Triple> |
Zero/More Triples. |
|
Improve this Doc
View Source
GetTriples(INode)
Gets all the Triples involving the given Node.
Declaration
public IEnumerable<Triple> GetTriples(INode n)
Parameters
Type |
Name |
Description |
INode |
n |
The Node to find Triples involving. |
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<Triple> |
Zero/More Triples. |
|
Improve this Doc
View Source
GetTriplesWithObject(Uri)
Gets all the Triples with the given URI as the Object.
Declaration
public IEnumerable<Triple> GetTriplesWithObject(Uri u)
Parameters
Type |
Name |
Description |
System.Uri |
u |
The URI to find Triples with it as the Object. |
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<Triple> |
Zero/More Triples. |
|
Improve this Doc
View Source
GetTriplesWithObject(INode)
Gets all the Triples with the given Node as the Object.
Declaration
public IEnumerable<Triple> GetTriplesWithObject(INode n)
Parameters
Type |
Name |
Description |
INode |
n |
The Node to find Triples with it as the Object. |
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<Triple> |
|
|
Improve this Doc
View Source
GetTriplesWithPredicate(Uri)
Gets all the Triples with the given Uri as the Predicate.
Declaration
public IEnumerable<Triple> GetTriplesWithPredicate(Uri u)
Parameters
Type |
Name |
Description |
System.Uri |
u |
The Uri to find Triples with it as the Predicate. |
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<Triple> |
Zero/More Triples. |
|
Improve this Doc
View Source
GetTriplesWithPredicate(INode)
Gets all the Triples with the given Node as the Predicate.
Declaration
public IEnumerable<Triple> GetTriplesWithPredicate(INode n)
Parameters
Type |
Name |
Description |
INode |
n |
The Node to find Triples with it as the Predicate. |
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<Triple> |
|
|
Improve this Doc
View Source
GetTriplesWithPredicateObject(INode, INode)
Selects all Triples with the given Predicate and Object.
Declaration
public IEnumerable<Triple> GetTriplesWithPredicateObject(INode pred, INode obj)
Parameters
Type |
Name |
Description |
INode |
pred |
Predicate. |
INode |
obj |
Object. |
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<Triple> |
|
|
Improve this Doc
View Source
GetTriplesWithSubject(Uri)
Gets all the Triples with the given Uri as the Subject.
Declaration
public IEnumerable<Triple> GetTriplesWithSubject(Uri u)
Parameters
Type |
Name |
Description |
System.Uri |
u |
The Uri to find Triples with it as the Subject. |
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<Triple> |
Zero/More Triples. |
|
Improve this Doc
View Source
GetTriplesWithSubject(INode)
Gets all the Triples with the given Node as the Subject.
Declaration
public IEnumerable<Triple> GetTriplesWithSubject(INode n)
Parameters
Type |
Name |
Description |
INode |
n |
The Node to find Triples with it as the Subject. |
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<Triple> |
Zero/More Triples. |
|
Improve this Doc
View Source
GetTriplesWithSubjectObject(INode, INode)
Selects all Triples with the given Subject and Object.
Declaration
public IEnumerable<Triple> GetTriplesWithSubjectObject(INode subj, INode obj)
Parameters
Type |
Name |
Description |
INode |
subj |
Subject. |
INode |
obj |
Object. |
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<Triple> |
|
|
Improve this Doc
View Source
GetTriplesWithSubjectPredicate(INode, INode)
Selects all Triples with the given Subject and Predicate.
Declaration
public IEnumerable<Triple> GetTriplesWithSubjectPredicate(INode subj, INode pred)
Parameters
Type |
Name |
Description |
INode |
subj |
Subject. |
INode |
pred |
Predicate. |
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<Triple> |
|
|
Improve this Doc
View Source
GetUriNode(String)
Returns the UriNode with the given QName if it exists.
Declaration
public IUriNode GetUriNode(string qname)
Parameters
Type |
Name |
Description |
System.String |
qname |
The QName of the Node to select. |
Returns
|
Improve this Doc
View Source
GetUriNode(Uri)
Returns the UriNode with the given Uri if it exists.
Declaration
public IUriNode GetUriNode(Uri uri)
Parameters
Type |
Name |
Description |
System.Uri |
uri |
The Uri of the Node to select. |
Returns
Type |
Description |
IUriNode |
Either the UriNode Or null if no Node with the given Uri exists. |
|
Improve this Doc
View Source
HasSubGraph(IGraph)
Checks whether this Graph has the given Graph as a sub-graph.
Declaration
public bool HasSubGraph(IGraph g)
Parameters
Type |
Name |
Description |
IGraph |
g |
Graph. |
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
HasSubGraph(IGraph, out Dictionary<INode, INode>)
Checks whether this Graph has the given Graph as a sub-graph.
Declaration
public bool HasSubGraph(IGraph g, out Dictionary<INode, INode> mapping)
Parameters
Type |
Name |
Description |
IGraph |
g |
Graph. |
System.Collections.Generic.Dictionary<INode, INode> |
mapping |
Mapping of Blank Nodes. |
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsSubGraphOf(IGraph)
Checks whether this Graph is a sub-graph of the given Graph.
Declaration
public bool IsSubGraphOf(IGraph g)
Parameters
Type |
Name |
Description |
IGraph |
g |
Graph. |
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsSubGraphOf(IGraph, out Dictionary<INode, INode>)
Checks whether this Graph is a sub-graph of the given Graph.
Declaration
public bool IsSubGraphOf(IGraph g, out Dictionary<INode, INode> mapping)
Parameters
Type |
Name |
Description |
IGraph |
g |
Graph. |
System.Collections.Generic.Dictionary<INode, INode> |
mapping |
Mapping of Blank Nodes. |
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Merge(IGraph)
Merges another Graph into the current Graph.
Declaration
public virtual void Merge(IGraph g)
Parameters
Type |
Name |
Description |
IGraph |
g |
Graph to Merge into this Graph. |
|
Improve this Doc
View Source
Merge(IGraph, Boolean)
Merges another Graph into the current Graph.
Declaration
public virtual void Merge(IGraph g, bool keepOriginalGraphUri)
Parameters
Type |
Name |
Description |
IGraph |
g |
Graph to Merge into this Graph. |
System.Boolean |
keepOriginalGraphUri |
Indicates that the Merge should preserve the Graph URIs of Nodes so they refer to the Graph they originated in. |
|
Improve this Doc
View Source
OnTripleAsserted(Object, TripleEventArgs)
Event Handler which handles the
TripleAdded event from the underlying Triple Collection by raising the Graph's
TripleAsserted event.
Declaration
protected virtual void OnTripleAsserted(object sender, TripleEventArgs args)
Parameters
Type |
Name |
Description |
System.Object |
sender |
Sender. |
TripleEventArgs |
args |
Triple Event Arguments. |
|
Improve this Doc
View Source
OnTripleRetracted(Object, TripleEventArgs)
Declaration
protected virtual void OnTripleRetracted(object sender, TripleEventArgs args)
Parameters
Type |
Name |
Description |
System.Object |
sender |
Sender. |
TripleEventArgs |
args |
Triple Event Arguments. |
|
Improve this Doc
View Source
PersistDeletedTriples(IEnumerable<Triple>)
Persists deleted Triples to the underlying Storage.
Declaration
protected virtual void PersistDeletedTriples(IEnumerable<Triple> ts)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<Triple> |
ts |
|
|
Improve this Doc
View Source
PersistGraph()
Persists the entire Graph to the underlying Storage.
Declaration
protected virtual void PersistGraph()
|
Improve this Doc
View Source
PersistInsertedTriples(IEnumerable<Triple>)
Persists inserted Triples to the underlying Storage.
Declaration
protected virtual void PersistInsertedTriples(IEnumerable<Triple> ts)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<Triple> |
ts |
Triples. |
|
Improve this Doc
View Source
RaiseCleared()
Helper method for raising the
Cleared event.
Declaration
protected void RaiseCleared()
|
Improve this Doc
View Source
RaiseClearRequested()
Helper method for raising the
ClearRequested event and returning whether any of the Event Handlers cancelled the operation.
Declaration
protected bool RaiseClearRequested()
Returns
Type |
Description |
System.Boolean |
True if the operation can continue, false if it should be aborted. |
|
Improve this Doc
View Source
RaiseGraphChanged()
Helper method for raising the
Changed event.
Declaration
protected void RaiseGraphChanged()
|
Improve this Doc
View Source
RaiseGraphChanged(TripleEventArgs)
Helper method for raising the
Changed event.
Declaration
protected void RaiseGraphChanged(TripleEventArgs args)
Parameters
|
Improve this Doc
View Source
RaiseMerged()
Helper method for raising the
Merged event.
Declaration
protected void RaiseMerged()
|
Improve this Doc
View Source
RaiseMergeRequested()
Helper method for raising the
MergeRequested event and returning whether any of the Event Handlers cancelled the operation.
Declaration
protected bool RaiseMergeRequested()
Returns
Type |
Description |
System.Boolean |
True if the operation can continue, false if it should be aborted. |
|
Improve this Doc
View Source
RaiseTripleAsserted(Triple)
Declaration
protected void RaiseTripleAsserted(Triple t)
Parameters
Type |
Name |
Description |
Triple |
t |
Triple. |
|
Improve this Doc
View Source
RaiseTripleAsserted(TripleEventArgs)
Declaration
protected void RaiseTripleAsserted(TripleEventArgs args)
Parameters
|
Improve this Doc
View Source
RaiseTripleRetracted(Triple)
Declaration
protected void RaiseTripleRetracted(Triple t)
Parameters
Type |
Name |
Description |
Triple |
t |
Triple. |
|
Improve this Doc
View Source
RaiseTripleRetracted(TripleEventArgs)
Declaration
protected void RaiseTripleRetracted(TripleEventArgs args)
Parameters
|
Improve this Doc
View Source
ReadXml(XmlReader)
Reads the data for XML deserialization.
Declaration
public void ReadXml(XmlReader reader)
Parameters
Type |
Name |
Description |
System.Xml.XmlReader |
reader |
XML Reader. |
|
Improve this Doc
View Source
ResolveQName(String)
Helper function for Resolving QNames to URIs.
Declaration
public Uri ResolveQName(string qname)
Parameters
Type |
Name |
Description |
System.String |
qname |
QName to resolve to a Uri. |
Returns
Type |
Description |
System.Uri |
|
|
Improve this Doc
View Source
Retract(IEnumerable<Triple>)
Retracts Triples from the Graph.
Declaration
public bool Retract(IEnumerable<Triple> ts)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<Triple> |
ts |
Triples. |
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Retract(Triple)
Retracts a Triple from the Graph.
Declaration
public virtual bool Retract(Triple t)
Parameters
Type |
Name |
Description |
Triple |
t |
Triple. |
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
WriteXml(XmlWriter)
Writes the data for XML serialization.
Declaration
public void WriteXml(XmlWriter writer)
Parameters
Type |
Name |
Description |
System.Xml.XmlWriter |
writer |
XML Writer. |
Events
|
Improve this Doc
View Source
Changed
Event which is raised when the Graph contents change
Declaration
public event GraphEventHandler Changed
Event Type
|
Improve this Doc
View Source
Cleared
Event which is raised after the Graph is cleared of its contents
Declaration
public event GraphEventHandler Cleared
Event Type
|
Improve this Doc
View Source
ClearRequested
Event which is raised just before the Graph is cleared of its contents
Declaration
public event CancellableGraphEventHandler ClearRequested
Event Type
|
Improve this Doc
View Source
Merged
Event which is raised when a Merge operation is completed on the Graph
Declaration
public event GraphEventHandler Merged
Event Type
|
Improve this Doc
View Source
MergeRequested
Event which is raised when a Merge operation is requested on the Graph
Declaration
public event CancellableGraphEventHandler MergeRequested
Event Type
|
Improve this Doc
View Source
TripleAsserted
Event which is raised when a Triple is asserted in the Graph
Declaration
public event TripleEventHandler TripleAsserted
Event Type
|
Improve this Doc
View Source
TripleRetracted
Event which is raised when a Triple is retracted from the Graph
Declaration
public event TripleEventHandler TripleRetracted
Event Type
Implements
System.IDisposable
System.Xml.Serialization.IXmlSerializable
Extension Methods