Show / Hide Table of Contents

Class TripleEventArgs

Event Arguments for Events regarding the assertion and retraction of Triples.

Inheritance
object
EventArgs
TripleEventArgs
Inherited Members
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

| Edit this page View Source

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.

| Edit this page View Source

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 Source

Graph

Gets the Graph the Triple belongs to (may be null).

Declaration
public IGraph Graph { get; }
Property Value
Type Description
IGraph
| Edit this page View Source

GraphUri

Gets the URI of the Graph the Triple belongs to (may be null).

Declaration
public Uri GraphUri { get; }
Property Value
Type Description
Uri
| Edit this page View Source

Triple

Gets the Triple.

Declaration
public Triple Triple { get; }
Property Value
Type Description
Triple
| Edit this page View Source

WasAsserted

Gets whether the Triple was asserted.

Declaration
public bool WasAsserted { get; }
Property Value
Type Description
bool
| Edit this page View Source

WasRetracted

Gets whether the Triple was retracted.

Declaration
public bool WasRetracted { get; }
Property Value
Type Description
bool

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Edit this page
  • View Source
In this article
  • Constructors
    • TripleEventArgs(Triple, IGraph)
    • TripleEventArgs(Triple, IGraph, bool)
  • Properties
    • Graph
    • GraphUri
    • Triple
    • WasAsserted
    • WasRetracted
  • Extension Methods
Back to top Generated by DocFX