Show / Hide Table of Contents

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
System.Object
BaseGraphCollection
WrapperGraphCollection
BaseDemandGraphCollection
DiskDemandGraphCollection
Implements
System.Collections.Generic.IEnumerable<IGraph>
System.Collections.IEnumerable
System.IDisposable
Inherited Members
BaseDemandGraphCollection.Contains(Uri)
WrapperGraphCollection._graphs
WrapperGraphCollection.Add(IGraph, Boolean)
WrapperGraphCollection.Count
WrapperGraphCollection.Dispose()
WrapperGraphCollection.GetEnumerator()
WrapperGraphCollection.GraphUris
WrapperGraphCollection.Remove(Uri)
WrapperGraphCollection.Item[Uri]
BaseGraphCollection.IEnumerable.GetEnumerator()
BaseGraphCollection.GraphAdded
BaseGraphCollection.GraphRemoved
BaseGraphCollection.RaiseGraphAdded(IGraph)
BaseGraphCollection.RaiseGraphRemoved(IGraph)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: VDS.RDF
Assembly: dotNetRDF.dll
Syntax
public class DiskDemandGraphCollection : BaseDemandGraphCollection, IEnumerable<IGraph>, IEnumerable, IDisposable

Constructors

| Improve this Doc View Source

DiskDemandGraphCollection()

Creates a new Disk Demand Graph Collection which loads Graphs from the Web on demand.
Declaration
public DiskDemandGraphCollection()
| Improve this Doc View Source

DiskDemandGraphCollection(BaseGraphCollection)

Creates a new Disk Demand Graph Collection.
Declaration
public DiskDemandGraphCollection(BaseGraphCollection collection)
Parameters
Type Name Description
BaseGraphCollection collection Collection to decorate.

Methods

| Improve this Doc View Source

LoadOnDemand(Uri)

Tries to load a Graph on demand.
Declaration
protected override IGraph LoadOnDemand(Uri graphUri)
Parameters
Type Name Description
System.Uri graphUri
Returns
Type Description
IGraph
Overrides
BaseDemandGraphCollection.LoadOnDemand(Uri)

Implements

System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable
System.IDisposable

Extension Methods

Extensions.AsEnumerable<T>(T)
Extensions.IsDisjoint<T>(IEnumerable<T>, IEnumerable<T>)
Extensions.ChunkBy<T>(IEnumerable<T>, Int32)
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • DiskDemandGraphCollection()
    • DiskDemandGraphCollection(BaseGraphCollection)
  • Methods
    • LoadOnDemand(Uri)
  • Implements
  • Extension Methods
Back to top Generated by DocFX