Class TripleEventArgs
Event Arguments for Events regarding the assertion and retraction of Triples.
Inheritance
System.Object
System.EventArgs
TripleEventArgs
Inherited Members
System.EventArgs.Empty
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: VDS.RDF
Assembly: dotNetRdf.dll
Syntax
public class TripleEventArgs : EventArgs
Constructors
| Improve this Doc View SourceTripleEventArgs(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. |
System.Boolean | asserted | Was the Triple Asserted (if not then it was Retracted). |
TripleEventArgs(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. |
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 |