Class DynamicExtensions
Contains helper extension methods for dynamic graphs and nodes.
Inheritance
System.Object
DynamicExtensions
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: VDS.RDF.Dynamic
Assembly: dotNetRdf.Dynamic.dll
Syntax
public static class DynamicExtensions
Methods
| Improve this Doc 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. |
System.Uri | subjectBaseUri | The Uri to use for resolving relative subject references. |
System.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. |
System.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 |