Class DynamicExtensions
Contains helper extension methods for dynamic graphs and nodes.
Inheritance
System.Object
DynamicExtensions
Inherited Members
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.Dynamic
Assembly: dotNetRDF.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 |
---|---|
System.Object | A dynamic graph that wrappes graph . |
AsDynamic(INode, Uri)
Dynamically wraps a node.
Declaration
public static dynamic AsDynamic(this INode node, Uri baseUri = null)
Parameters
Type | Name | Description |
---|---|---|
INode | node | The node to wrap dynamically. |
System.Uri | baseUri | The Uri to use for resolving relative predicate references. |
Returns
Type | Description |
---|---|
System.Object | A dynamic node that wraps node . |
AsDynamic(SparqlResult)
Dynamically wraps a SPARQL result.
Declaration
public static dynamic AsDynamic(this SparqlResult result)
Parameters
Type | Name | Description |
---|---|---|
SparqlResult | result | The SPARQL result to wrap dynamically. |
Returns
Type | Description |
---|---|
System.Object | A dynamic result that wraps result . |
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 |
---|---|
System.Object | A dynamic result set that wraps set . |