Click or drag to resize

BaseDemandGraphCollection Class

A decorator for graph collections that allows for graphs to be loaded on demand if they don't exist in the underlying graph collection.
Inheritance Hierarchy

Namespace:  VDS.RDF
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public abstract class BaseDemandGraphCollection : WrapperGraphCollection

The BaseDemandGraphCollection type exposes the following members.

Constructors
  NameDescription
Public methodBaseDemandGraphCollection
Creates a new decorator.
Public methodBaseDemandGraphCollection(BaseGraphCollection)
Creates a new decorator over the given graph collection.
Top
Properties
  NameDescription
Public propertyCount
Gets the number of Graphs in the collection.
(Inherited from WrapperGraphCollection.)
Public propertyGraphUris
Gets the URIs of the Graphs in the collection.
(Inherited from WrapperGraphCollection.)
Public propertyItem
Gets a Graph from the collection.
(Inherited from WrapperGraphCollection.)
Top
Methods
  NameDescription
Protected methodAdd
Adds a Graph to the collection.
(Inherited from WrapperGraphCollection.)
Public methodContains
Checks whether the collection contains a Graph invoking an on-demand load if not present in the underlying collection.
(Overrides WrapperGraphCollectionContains(Uri).)
Public methodDispose
Disposes of the collection.
(Inherited from WrapperGraphCollection.)
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.
(Inherited from WrapperGraphCollection.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodLoadOnDemand
Loads a Graph on demand.
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.
(Inherited from WrapperGraphCollection.)
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
Underlying Graph Collection.
(Inherited from WrapperGraphCollection.)
Top
See Also