Extensions Class |
Namespace: VDS.RDF
The Extensions type exposes the following members.
Name | Description | |
---|---|---|
AddToList(IGraph, INode, IEnumerableINode) |
Adds new items to the end of a list (aka a RDF collection).
| |
AddToListT(IGraph, INode, IEnumerableT, FuncT, INode) |
Adds new items to the end of a list (aka a RDF collection).
| |
AsEnumerableT |
Takes a single item and generates an IEnumerable containing only it.
| |
Assert |
Asserts a new Triple in the Graph.
| |
AssertList(IGraph, IEnumerableINode) |
Asserts a list as a RDF collection and returns the node that represents the root of the RDF collection.
| |
AssertList(IGraph, INode, IEnumerableINode) |
Asserts a list as a RDF collection using an existing node as the list root.
| |
AssertListT(IGraph, IEnumerableT, FuncT, INode) |
Asserts a list as a RDF collection and returns the node that represents the root of the RDF collection.
| |
AssertListT(IGraph, INode, IEnumerableT, FuncT, INode) |
Asserts a list as a RDF collection using an existing node as the list root.
| |
BlankNodes |
Gets the Blank Nodes.
| |
CopyNode(INode, IGraph) |
Copies a Node to the target Graph.
| |
CopyNode(INode, IGraph, Boolean) |
Copies a Node to the target Graph.
| |
CopyTriple(Triple, IGraph) |
Copies a Triple to the target Graph.
| |
CopyTriple(Triple, IGraph, Boolean) |
Copies a Triple to the target Graph.
| |
Escape(String, Char) | Obsolete.
Escapes all occurrences of a given character in a String.
| |
Escape(String, Char, Char) | Obsolete.
Escapes all occurrences of a given character in a String using the given escape character.
| |
EscapeBackslashes | Obsolete.
Takes a String and escapes any backslashes in it which are not followed by a valid escape character.
| |
GetEnhancedHashCode |
Gets an Enhanced Hash Code for a Uri.
| |
GetListAsTriples |
Gets all the Triples that make up a list (aka a RDF collection).
| |
GetListItems |
Gets all the Nodes which are the items of the list (aka the RDF collection).
| |
GetListNodes |
Gets all the Nodes which are the intermediate nodes in the list (aka the RDF collection). These represents the nodes used to link the actual items of the list together rather than the actual items of the list.
| |
GetSha256Hash |
Gets an SHA256 Hash for a URI.
| |
GraphLiteralNodes |
Gets the Graph Literal Nodes.
| |
IsAscii |
Determines whether a string is ASCII.
| |
IsDisjointT |
Determines whether the contents of two enumerables are disjoint.
| |
IsFullyEscaped | Obsolete.
Determines whether a String is fully escaped.
| |
IsListRoot |
Gets whether a given Node is valid as a List Root, this does not guarantee that the list itself is valid simply that the Node appears to be the root of a list.
| |
LiteralNodes |
Gets the Literal Nodes.
| |
MapTriple |
Copies a Triple from one Graph mapping Nodes as appropriate.
| |
RemoveFromList(IGraph, INode, IEnumerableINode) |
Removes the given items from a list (aka a RDF collection), if an item occurs multiple times in the list all occurrences will be removed.
| |
RemoveFromListT(IGraph, INode, IEnumerableT, FuncT, INode) |
Removes the given items from a list (aka a RDF collection), if an item occurs multiple times in the list all occurrences will be removed.
| |
Retract |
Retracts a Triple from the Graph.
| |
RetractList |
Retracts a List (aka a RDF collection).
| |
ToString |
Gets the String representation of the URI formatted using the given Formatter.
| |
UriNodes |
Gets the URI Nodes.
| |
VariableNodes |
Gets the Variable Nodes.
| |
WithObject |
Gets the Subset of Triples from an existing Enumerable that have a given Object.
| |
WithPredicate |
Gets the Subset of Triples from an existing Enumerable that have a given Predicate.
| |
WithSubject |
Gets the Subset of Triples from an existing Enumerable that have a given Subject.
|