Show / Hide Table of Contents

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 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.

System.Boolean asserted

Was the Triple Asserted (if not then it was Retracted).

| Improve this Doc 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.

Properties

| Improve this Doc View Source

Graph

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

Declaration
public IGraph Graph { get; }
Property Value
Type Description
IGraph
| Improve this Doc 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
System.Uri
| Improve this Doc View Source

Triple

Gets the Triple.

Declaration
public Triple Triple { get; }
Property Value
Type Description
Triple
| Improve this Doc View Source

WasAsserted

Gets whether the Triple was asserted.

Declaration
public bool WasAsserted { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

WasRetracted

Gets whether the Triple was retracted.

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

Extension Methods

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