ThreadSafeTripleCollection Class |
Namespace: VDS.RDF
The ThreadSafeTripleCollection type exposes the following members.
Name | Description | |
---|---|---|
ThreadSafeTripleCollection |
Creates a new thread safe triple collection which wraps a new instance of the default unindexed TripleCollection.
| |
ThreadSafeTripleCollection(BaseTripleCollection) |
Creates a new thread safe triple collection which wraps the provided triple collection.
|
Name | Description | |
---|---|---|
Count |
Gets the Number of Triples in the Triple Collection.
(Overrides WrapperTripleCollectionCount.) | |
Item |
Gets the original instance of a specific Triple from the Triple Collection.
(Overrides WrapperTripleCollectionItemTriple.) | |
ObjectNodes |
Gets all the Nodes which are Objects of Triples in the Triple Collectio.
(Overrides WrapperTripleCollectionObjectNodes.) | |
PredicateNodes |
Gets all the Nodes which are Predicates of Triples in the Triple Collection.
(Overrides WrapperTripleCollectionPredicateNodes.) | |
SubjectNodes |
Gets all the Nodes which are Subjects of Triples in the Triple Collection.
(Overrides WrapperTripleCollectionSubjectNodes.) |
Name | Description | |
---|---|---|
Add |
Adds a Triple to the Collection.
(Overrides WrapperTripleCollectionAdd(Triple).) | |
Contains |
Determines whether a given Triple is in the Triple Collection.
(Overrides WrapperTripleCollectionContains(Triple).) | |
Delete |
Deletes a Triple from the Collection.
(Overrides WrapperTripleCollectionDelete(Triple).) | |
Dispose |
Disposes of a Triple Collection.
(Overrides WrapperTripleCollectionDispose.) | |
EnterReadLock |
Enters the read lock.
| |
EnterWriteLock |
Enters the write lock.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
ExitReadLock |
Exists the read lock.
| |
ExitWriteLock |
Exists the write lock.
| |
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 Enumerator for the Collection.
(Overrides WrapperTripleCollectionGetEnumerator.) | |
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 triples with the given Object.
(Overrides WrapperTripleCollectionWithObject(INode).) | |
WithPredicate |
Gets all triples with the given predicate.
(Overrides WrapperTripleCollectionWithPredicate(INode).) | |
WithPredicateObject |
Gets all triples with the given predicate object.
(Overrides WrapperTripleCollectionWithPredicateObject(INode, INode).) | |
WithSubject |
Gets all the triples with the given subject.
(Overrides WrapperTripleCollectionWithSubject(INode).) | |
WithSubjectObject |
Gets all the triples with the given subject and object.
(Overrides WrapperTripleCollectionWithSubjectObject(INode, INode).) | |
WithSubjectPredicate |
Gets all triples with the given subject and predicate.
(Overrides WrapperTripleCollectionWithSubjectPredicate(INode, INode).) |
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.) |
Name | Description | |
---|---|---|
_triples |
Underlying Triple Collection.
(Inherited from WrapperTripleCollection.) |