Class TripleEventArgs
Event Arguments for Events regarding the assertion and retraction of Triples.
Inheritance
System.Object
System.EventArgs
TripleEventArgs
Inherited Members
System.EventArgs.Empty
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
Assembly: dotNetRDF.dll
Syntax
public class TripleEventArgs : EventArgs
Constructors
| Improve this Doc View SourceTripleEventArgs(Triple, IGraph)
Creates a new set of Triple Event Arguments for the given Triple.
Declaration
public TripleEventArgs(Triple t, IGraph g)
Parameters
Type | Name | Description |
---|---|---|
Triple | t | Triple. |
IGraph | g | Graph the Triple Event occurred in. |
TripleEventArgs(Triple, IGraph, Boolean)
Creates a new set of Triple Event Arguments for the given Triple.
Declaration
public TripleEventArgs(Triple t, IGraph g, bool asserted)
Parameters
Type | Name | Description |
---|---|---|
Triple | t | Triple. |
IGraph | g | Graph the Triple Event occurred in. |
System.Boolean | asserted | Was the Triple Asserted (if not then it was Retracted). |
Properties
| Improve this Doc View SourceGraph
Gets the Graph the Triple belongs to (may be null).
Declaration
public IGraph Graph { get; }
Property Value
Type | Description |
---|---|
IGraph |
GraphUri
Gets the URI of the Graph the Triple belongs to (may be null).
Declaration
public Uri GraphUri { get; }
Property Value
Type | Description |
---|---|
System.Uri |
Triple
Gets the Triple.
Declaration
public Triple Triple { get; }
Property Value
Type | Description |
---|---|
Triple |
WasAsserted
Gets whether the Triple was asserted.
Declaration
public bool WasAsserted { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
WasRetracted
Gets whether the Triple was retracted.
Declaration
public bool WasRetracted { get; }
Property Value
Type | Description |
---|---|
System.Boolean |