Click or drag to resize

DiskDemandGraphCollection Class

A decorator for graph collection where graphs not in the underlying graph collection can be loaded on-demand from the Files on Disk as needed.
Inheritance Hierarchy

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

The DiskDemandGraphCollection type exposes the following members.

Constructors
  NameDescription
Public methodDiskDemandGraphCollection
Creates a new Disk Demand Graph Collection which loads Graphs from the Web on demand.
Public methodDiskDemandGraphCollection(BaseGraphCollection)
Creates a new Disk Demand 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.
(Inherited from BaseDemandGraphCollection.)
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
Tries to load a Graph on demand.
(Overrides BaseDemandGraphCollectionLoadOnDemand(Uri).)
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