Click or drag to resize

BaseTripleCollection Class

Abstract Base Class for Triple Collections.
Inheritance Hierarchy

Namespace:  VDS.RDF
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public abstract class BaseTripleCollection : IEnumerable<Triple>, 
	IEnumerable, IDisposable

The BaseTripleCollection type exposes the following members.

Constructors
  NameDescription
Protected methodBaseTripleCollection
Initializes a new instance of the BaseTripleCollection class
Top
Properties
  NameDescription
Public propertyCount
Gets the Number of Triples in the Triple Collection.
Public propertyItem
Gets the given Triple.
Public propertyObjectNodes
Gets all the Nodes which are Objects of Triples in the Triple Collection.
Public propertyPredicateNodes
Gets all the Nodes which are Predicates of Triples in the Triple Collection.
Public propertySubjectNodes
Gets all the Nodes which are Subjects of Triples in the Triple Collection.
Top
Methods
  NameDescription
Protected methodAdd
Adds a Triple to the Collection.
Public methodContains
Determines whether a given Triple is in the Triple Collection.
Protected methodDelete
Deletes a Triple from the Collection.
Public methodDispose
Diposes of a Triple Collection.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator
Gets the typed Enumerator for the Triple Collection.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodRaiseTripleAdded
Helper method for raising the Triple Added event.
Protected methodRaiseTripleRemoved
Helper method for raising the Triple Removed event.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodWithObject
Gets all the Triples with the given Object.
Public methodWithPredicate
Gets all the Triples with the given Predicate.
Public methodWithPredicateObject
Gets all the Triples with the given Predicate Object pair.
Public methodWithSubject
Gets all the Triples with the given Subject.
Public methodWithSubjectObject
Gets all the Triples with the given Subject Object pair.
Public methodWithSubjectPredicate
Gets all the Triples with the given Subject Predicate pair.
Top
Events
  NameDescription
Public eventTripleAdded
Event which occurs when a Triple is added to the Collection
Public eventTripleRemoved
Event which occurs when a Triple is removed from the Collection
Top
Extension Methods
  NameDescription
Public Extension MethodIsDisjointTriple
Determines whether the contents of two enumerables are disjoint.
(Defined by Extensions.)
Public Extension MethodWithObject
Gets the Subset of Triples from an existing Enumerable that have a given Object.
(Defined by Extensions.)
Public Extension MethodWithPredicate
Gets the Subset of Triples from an existing Enumerable that have a given Predicate.
(Defined by Extensions.)
Public Extension MethodWithSubject
Gets the Subset of Triples from an existing Enumerable that have a given Subject.
(Defined by Extensions.)
Top
Remarks
Designed to allow the underlying storage of a Triple Collection to be changed at a later date without affecting classes that use it.
See Also