UnionTripleCollection Class |
Namespace: VDS.RDF
The UnionTripleCollection type exposes the following members.
Name | Description | |
---|---|---|
UnionTripleCollection(BaseTripleCollection, IEnumerableBaseTripleCollection) |
Creates a new Union Triple Collection which is a union of any number of collections.
| |
UnionTripleCollection(BaseTripleCollection, BaseTripleCollection) |
Creates a new Union Triple Collection which is a union of two collections.
|
Name | Description | |
---|---|---|
Count |
Gets the count of Triples in this union.
(Overrides BaseTripleCollectionCount.) | |
Item |
Retrieves a Triple from the union.
(Overrides BaseTripleCollectionItemTriple.) | |
ObjectNodes |
Gets the enumeration of distinct objects of Triples.
(Overrides BaseTripleCollectionObjectNodes.) | |
PredicateNodes |
Gets the enumeration of distinct predicates of Triples.
(Overrides BaseTripleCollectionPredicateNodes.) | |
SubjectNodes |
Gets the enumeration of distinct subjects of Triples.
(Overrides BaseTripleCollectionSubjectNodes.) |
Name | Description | |
---|---|---|
Add |
Adds a Triple to the base collection.
(Overrides BaseTripleCollectionAdd(Triple).) | |
Contains |
Checks whether the union contains this Triple in any of the collections it comprises.
(Overrides BaseTripleCollectionContains(Triple).) | |
Delete |
Deletes a Triple from the base collection.
(Overrides BaseTripleCollectionDelete(Triple).) | |
Dispose |
Disposes of the collection.
(Overrides BaseTripleCollectionDispose.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetEnumerator |
Gets the enumeration of Triples in the union.
(Overrides BaseTripleCollectionGetEnumerator.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
RaiseTripleAdded |
Helper method for raising the Triple Added event.
(Inherited from BaseTripleCollection.) | |
RaiseTripleRemoved |
Helper method for raising the Triple Removed event.
(Inherited from BaseTripleCollection.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
WithObject |
Gets all the Triples with the given Object.
(Inherited from BaseTripleCollection.) | |
WithPredicate |
Gets all the Triples with the given Predicate.
(Inherited from BaseTripleCollection.) | |
WithPredicateObject |
Gets all the Triples with the given Predicate Object pair.
(Inherited from BaseTripleCollection.) | |
WithSubject |
Gets all the Triples with the given Subject.
(Inherited from BaseTripleCollection.) | |
WithSubjectObject |
Gets all the Triples with the given Subject Object pair.
(Inherited from BaseTripleCollection.) | |
WithSubjectPredicate |
Gets all the Triples with the given Subject Predicate pair.
(Inherited from BaseTripleCollection.) |
Name | Description | |
---|---|---|
TripleAdded |
Event which occurs when a Triple is added to the Collection
(Inherited from BaseTripleCollection.) | |
TripleRemoved |
Event which occurs when a Triple is removed from the Collection
(Inherited from BaseTripleCollection.) |
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).