Class DiskDemandGraphCollection
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
DiskDemandGraphCollection
Inherited Members
Namespace: VDS.RDF
Assembly: dotNetRdf.dll
Syntax
public class DiskDemandGraphCollection : BaseDemandGraphCollection, IEnumerable<IGraph>, IEnumerable, IDisposable
Constructors
| Edit this page View SourceDiskDemandGraphCollection()
Creates a new Disk Demand Graph Collection which loads Graphs from the Web on demand.
Declaration
public DiskDemandGraphCollection()
DiskDemandGraphCollection(BaseGraphCollection)
Creates a new Disk Demand Graph Collection.
Declaration
public DiskDemandGraphCollection(BaseGraphCollection collection)
Parameters
Type | Name | Description |
---|---|---|
BaseGraphCollection | collection | Collection to decorate. |
Methods
| Edit this page View SourceLoadOnDemand(Uri)
Tries to load a Graph on demand.
Declaration
protected override IGraph LoadOnDemand(Uri graphUri)
Parameters
Type | Name | Description |
---|---|---|
Uri | graphUri |
Returns
Type | Description |
---|---|
IGraph |