Click or drag to resize

GraphCollection Class

Wrapper class for Graph Collections.
Inheritance Hierarchy

Namespace:  VDS.RDF
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public class GraphCollection : BaseGraphCollection, 
	IEnumerable<IGraph>, IEnumerable

The GraphCollection type exposes the following members.

Constructors
  NameDescription
Public methodGraphCollection
Creates a new Graph Collection.
Top
Properties
Methods
  NameDescription
Protected methodAdd
Adds a Graph to the Collection.
(Overrides BaseGraphCollectionAdd(IGraph, Boolean).)
Public methodContains
Checks whether the Graph with the given Uri exists in this Graph Collection.
(Overrides BaseGraphCollectionContains(Uri).)
Public methodDispose
Disposes of the Graph Collection.
(Overrides BaseGraphCollectionDispose.)
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 Enumerator for the Collection.
(Overrides BaseGraphCollectionGetEnumerator.)
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 methodRaiseGraphAdded
Helper method which raises the Graph Added event manually.
(Inherited from BaseGraphCollection.)
Protected methodRaiseGraphRemoved
Helper method which raises the Graph Removed event manually.
(Inherited from BaseGraphCollection.)
Protected methodRemove
Removes a Graph from the Collection.
(Overrides BaseGraphCollectionRemove(Uri).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventGraphAdded
Event which is raised when a Graph is added to the Collection
(Inherited from BaseGraphCollection.)
Public eventGraphRemoved
Event which is raised when a Graph is removed from the Collection
(Inherited from BaseGraphCollection.)
Top
Fields
  NameDescription
Protected field_graphs
Dictionary of Graph Uri Enhanced Hash Codes to Graphs.
Protected fieldStatic memberDefaultGraphID
Internal Constant used as the Hash Code for the default graph.
Top
Extension Methods
See Also