Show / Hide Table of Contents

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
object
BaseGraphCollection
WrapperGraphCollection
BaseDemandGraphCollection
WebDemandGraphCollection
Implements
IEnumerable<IGraph>
IEnumerable
IDisposable
Inherited Members
BaseDemandGraphCollection.Contains(Uri)
BaseDemandGraphCollection.Contains(IRefNode)
WrapperGraphCollection._graphs
WrapperGraphCollection.Add(IGraph, bool)
WrapperGraphCollection.Count
WrapperGraphCollection.Dispose()
WrapperGraphCollection.GetEnumerator()
WrapperGraphCollection.GraphUris
WrapperGraphCollection.GraphNames
WrapperGraphCollection.Remove(Uri)
WrapperGraphCollection.Remove(IRefNode)
WrapperGraphCollection.this[Uri]
WrapperGraphCollection.this[IRefNode]
BaseGraphCollection.GraphAdded
BaseGraphCollection.GraphRemoved
BaseGraphCollection.RaiseGraphAdded(IGraph)
BaseGraphCollection.RaiseGraphRemoved(IGraph)
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: VDS.RDF
Assembly: dotNetRdf.dll
Syntax
public class WebDemandGraphCollection : BaseDemandGraphCollection, IEnumerable<IGraph>, IEnumerable, IDisposable

Constructors

| Edit this page View Source

WebDemandGraphCollection()

Creates a new Web Demand Graph Collection which loads Graphs from the Web on demand.

Declaration
public WebDemandGraphCollection()
| Edit this page View Source

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 Source

LoadOnDemand(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
Overrides
BaseDemandGraphCollection.LoadOnDemand(Uri)

Implements

IEnumerable<T>
IEnumerable
IDisposable

Extension Methods

Extensions.ChunkBy<T>(IEnumerable<T>, int)
Extensions.IsDisjoint<T>(IEnumerable<T>, IEnumerable<T>)
Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Edit this page
  • View Source
In this article
  • Constructors
    • WebDemandGraphCollection()
    • WebDemandGraphCollection(BaseGraphCollection)
  • Methods
    • LoadOnDemand(Uri)
  • Implements
  • Extension Methods
Back to top Generated by DocFX