Click or drag to resize

DynamicSubjectCollectionT Class

Represents a strongly type read/write dynamic collection of subjects by predicate and object.
Inheritance Hierarchy
SystemObject
  VDS.RDF.DynamicDynamicSubjectCollection
    VDS.RDF.DynamicDynamicSubjectCollectionT

Namespace:  VDS.RDF.Dynamic
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public class DynamicSubjectCollection<T> : DynamicSubjectCollection, 
	ICollection<T>, IEnumerable<T>, IEnumerable
where T : INode

Type Parameters

T
The type of subjects.

The DynamicSubjectCollectionT type exposes the following members.

Constructors
  NameDescription
Public methodDynamicSubjectCollectionT
Initializes a new instance of the DynamicSubjectCollectionT class.
Top
Properties
  NameDescription
Public propertyCount
Gets the number of statements with given predicate and object.
(Inherited from DynamicSubjectCollection.)
Public propertyIsReadOnly
Gets a value indicating whether this collection is read only (always false).
(Inherited from DynamicSubjectCollection.)
Protected propertySubjects
Gets subjects of statements with given predicate and object.
(Inherited from DynamicSubjectCollection.)
Top
Methods
  NameDescription
Public methodAdd(T)
Asserts a statement with subject and given predicate and object.
Public methodAdd(INode)
Asserts a statement with subject and given predicate and object.
(Inherited from DynamicSubjectCollection.)
Public methodClear
Retracts statements with given predicate and object.
(Inherited from DynamicSubjectCollection.)
Public methodContains(T)
Checks whether a statement exists with subject and given predicate and object.
Public methodContains(INode)
Checks whether a statement exists with subject and given predicate and object.
(Inherited from DynamicSubjectCollection.)
Public methodCopyTo(T, Int32)
Copies subjects of statements with given predicate and object to array starting at index.
Public methodCopyTo(INode, Int32)
Copies subjects of statements with given predicate and object to array starting at index.
(Inherited from DynamicSubjectCollection.)
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
Returns an enumerator that iterates through subjects of statements with given predicate and object.
(Inherited from DynamicSubjectCollection.)
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.)
Public methodRemove(T)
Retracts statements with subject and given predicate and object.
Public methodRemove(INode)
Retracts statements with subject and given predicate and object.
(Inherited from DynamicSubjectCollection.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
See Also