Class TripleEventArgs
Event Arguments for Events regarding the assertion and retraction of Triples.
Inherited Members
Namespace: VDS.RDF
Assembly: dotNetRdf.dll
Syntax
public class TripleEventArgs : EventArgs
Constructors
| Edit this page 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, bool)
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. |
bool | asserted | Was the Triple Asserted (if not then it was Retracted). |
Properties
| Edit this page 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 |
---|---|
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 |
---|---|
bool |
WasRetracted
Gets whether the Triple was retracted.
Declaration
public bool WasRetracted { get; }
Property Value
Type | Description |
---|---|
bool |