Class DynamicExtensions
Contains helper extension methods for dynamic graphs and nodes.
Inherited Members
Namespace: VDS.RDF.Dynamic
Assembly: dotNetRdf.Dynamic.dll
Syntax
public static class DynamicExtensions
Methods
| Edit this page View SourceAsDynamic(IGraph, Uri, Uri)
Dynamically wraps a graph.
Declaration
public static dynamic AsDynamic(this IGraph graph, Uri subjectBaseUri = null, Uri predicateBaseUri = null)
Parameters
Type | Name | Description |
---|---|---|
IGraph | graph | The graph to wrap dynamically. |
Uri | subjectBaseUri | The Uri to use for resolving relative subject references. |
Uri | predicateBaseUri | The Uri used to resolve relative predicate references. |
Returns
Type | Description |
---|---|
dynamic | A dynamic graph that wrappes |
AsDynamic(INode, IGraph, Uri)
Dynamically wraps a node.
Declaration
public static dynamic AsDynamic(this INode node, IGraph graph, Uri baseUri = null)
Parameters
Type | Name | Description |
---|---|---|
INode | node | The node to wrap dynamically. |
IGraph | graph | The graph context of th dynamic node. |
Uri | baseUri | The Uri to use for resolving relative predicate references. |
Returns
Type | Description |
---|---|
dynamic | A dynamic node that wraps |
AsDynamic(ISparqlResult)
Dynamically wraps a SPARQL result.
Declaration
public static dynamic AsDynamic(this ISparqlResult result)
Parameters
Type | Name | Description |
---|---|---|
ISparqlResult | result | The SPARQL result to wrap dynamically. |
Returns
Type | Description |
---|---|
dynamic | A dynamic result that wraps |
AsDynamic(SparqlResultSet)
Dynamically wraps a SPARQL result set.
Declaration
public static dynamic AsDynamic(this SparqlResultSet set)
Parameters
Type | Name | Description |
---|---|---|
SparqlResultSet | set | The SPARQL result set to wrap dynamically. |
Returns
Type | Description |
---|---|
dynamic | A dynamic result set that wraps |