Class WebDemandGraphCollection
A decorator for graph collections where graphs not in the underlying graph collection can be loaded on-demand from the Web as needed.
Inheritance
WebDemandGraphCollection
Inherited Members
Namespace: VDS.RDF
Assembly: dotNetRdf.dll
Syntax
public class WebDemandGraphCollection : BaseDemandGraphCollection, IEnumerable<IGraph>, IEnumerable, IDisposable
Constructors
| Edit this page View SourceWebDemandGraphCollection()
Creates a new Web Demand Graph Collection which loads Graphs from the Web on demand.
Declaration
public WebDemandGraphCollection()
WebDemandGraphCollection(BaseGraphCollection)
Creates a new Web Demand Graph Collection which loads Graphs from the Web on demand.
Declaration
public WebDemandGraphCollection(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 from a URI.
Declaration
protected override IGraph LoadOnDemand(Uri graphUri)
Parameters
Type | Name | Description |
---|---|---|
Uri | graphUri | Graph URI. |
Returns
Type | Description |
---|---|
IGraph |