Click or drag to resize

UnionTripleCollection Class

Represents a union of multiple Triple Collections.
Inheritance Hierarchy

Namespace:  VDS.RDF
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public class UnionTripleCollection : BaseTripleCollection

The UnionTripleCollection type exposes the following members.

Constructors
Properties
Methods
  NameDescription
Protected methodAdd
Adds a Triple to the base collection.
(Overrides BaseTripleCollectionAdd(Triple).)
Public methodContains
Checks whether the union contains this Triple in any of the collections it comprises.
(Overrides BaseTripleCollectionContains(Triple).)
Protected methodDelete
Deletes a Triple from the base collection.
(Overrides BaseTripleCollectionDelete(Triple).)
Public methodDispose
Disposes of the collection.
(Overrides BaseTripleCollectionDispose.)
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 enumeration of Triples in the union.
(Overrides BaseTripleCollectionGetEnumerator.)
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.
(Inherited from BaseTripleCollection.)
Protected methodRaiseTripleRemoved
Helper method for raising the Triple Removed event.
(Inherited from BaseTripleCollection.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodWithObject
Gets all the Triples with the given Object.
(Inherited from BaseTripleCollection.)
Public methodWithPredicate
Gets all the Triples with the given Predicate.
(Inherited from BaseTripleCollection.)
Public methodWithPredicateObject
Gets all the Triples with the given Predicate Object pair.
(Inherited from BaseTripleCollection.)
Public methodWithSubject
Gets all the Triples with the given Subject.
(Inherited from BaseTripleCollection.)
Public methodWithSubjectObject
Gets all the Triples with the given Subject Object pair.
(Inherited from BaseTripleCollection.)
Public methodWithSubjectPredicate
Gets all the Triples with the given Subject Predicate pair.
(Inherited from BaseTripleCollection.)
Top
Events
  NameDescription
Public eventTripleAdded
Event which occurs when a Triple is added to the Collection
(Inherited from BaseTripleCollection.)
Public eventTripleRemoved
Event which occurs when a Triple is removed from the Collection
(Inherited from BaseTripleCollection.)
Top
Remarks

The union consists of a Base collection which is the collection that Triples can actually be added to and deleted from and any number of additional collections which are read-only as far as the union is concerned (this does not mean they cannot be altered elsewhere by other code).

See Also