Click or drag to resize

DynamicNode Class

A wrapper that provides read/write dictionary and dynamic functionality.
Inheritance Hierarchy

Namespace:  VDS.RDF.Dynamic
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public class DynamicNode : WrapperNode, 
	IUriNode, INode, IComparable<INode>, IComparable<IBlankNode>, 
	IComparable<IGraphLiteralNode>, IComparable<ILiteralNode>, IComparable<IUriNode>, 
	IComparable<IVariableNode>, IEquatable<INode>, IEquatable<IBlankNode>, 
	IEquatable<IGraphLiteralNode>, IEquatable<ILiteralNode>, IEquatable<IUriNode>, 
	IEquatable<IVariableNode>, ISerializable, IXmlSerializable, IBlankNode, 
	IDynamicMetaObjectProvider, IDictionary<INode, Object>, ICollection<KeyValuePair<INode, Object>>, 
	IEnumerable<KeyValuePair<INode, Object>>, IEnumerable, 
	IDictionary<string, Object>, ICollection<KeyValuePair<string, Object>>, 
	IEnumerable<KeyValuePair<string, Object>>, IDictionary<Uri, Object>, 
	ICollection<KeyValuePair<Uri, Object>>, IEnumerable<KeyValuePair<Uri, Object>>

The DynamicNode type exposes the following members.

Constructors
  NameDescription
Public methodDynamicNode
Initializes a new instance of the DynamicNode class.
Top
Properties
  NameDescription
Public propertyBaseUri
Gets the URI used to resolve relative predicate references.
Public propertyCount
Gets the number of distinct outgoing predicates from this node.
Public propertyGraph
Gets the Graph the Node belongs to.
(Inherited from WrapperNode.)
Public propertyGraphUri
Gets/Sets the Graph URI associated with a Node.
(Inherited from WrapperNode.)
Public propertyIsReadOnly
Gets a value indicating whether this node is read only (always false).
Public propertyItemString
Gets statement objects with this subject and predicate equivalent to predicate or sets staements with this subject, predicate equivalent to predicate and objects equivalent to value.
Public propertyItemUri
Gets statement objects with this subject and predicate equivalent to predicate or sets staements with this subject, predicate equivalent to predicate and objects equivalent to value.
Public propertyItemINode
Gets statement objects with this subject and predicate or sets staements with this subject, predicate and objects equivalent to value.
Public propertyKeys
Protected propertyNode
Gets the underlying node this is a wrapper around.
(Inherited from WrapperNode.)
Public propertyNodeType
Nodes have a Type.
(Inherited from WrapperNode.)
Public propertyValues
Gets a collection of dynamic object collections, one per distinct outgoing predicate from this node.
Top
Methods
  NameDescription
Public methodAdd(String, Object)
Asserts statements with this subject and predicate and objects equivalent to parameters.
Public methodAdd(Uri, Object)
Asserts statements with this subject and predicate and objects equivalent to parameters.
Public methodAdd(INode, Object)
Asserts statements with this subject, predicate and equivalent to objects.
Public methodClear
Retracts statements with this subject.
Public methodCompareTo(IBlankNode)
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
(Inherited from WrapperNode.)
Public methodCompareTo(IGraphLiteralNode)
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
(Inherited from WrapperNode.)
Public methodCompareTo(ILiteralNode)
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
(Inherited from WrapperNode.)
Public methodCompareTo(INode)
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
(Inherited from WrapperNode.)
Public methodCompareTo(IUriNode)
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
(Inherited from WrapperNode.)
Public methodCompareTo(IVariableNode)
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
(Inherited from WrapperNode.)
Public methodContains(String, Object)
Checks whether statements exist with this subject, predicate equivalent to predicate and objects equivalent to objects.
Public methodContains(Uri, Object)
Checks whether statements exist with this subject, predicate equivalent to predicate and objects equivalent to objects.
Public methodContains(INode, Object)
Checks whether statements exist with this subject, predicate and objects equivalent to objects.
Public methodContainsKey(String)
Checks whether this node has an outgoing predicate equivalent to key.
Public methodContainsKey(Uri)
Checks whether this node has an outgoing predicate equivalent to key.
Public methodContainsKey(INode)
Checks whether this node has an outgoing predicate equal to key.
Public methodEquals(Object)
Determines whether the specified object is equal to the current object.
(Inherited from WrapperNode.)
Public methodEquals(IBlankNode)
Indicates whether the current object is equal to another object of the same type.
(Inherited from WrapperNode.)
Public methodEquals(IGraphLiteralNode)
Indicates whether the current object is equal to another object of the same type.
(Inherited from WrapperNode.)
Public methodEquals(ILiteralNode)
Indicates whether the current object is equal to another object of the same type.
(Inherited from WrapperNode.)
Public methodEquals(INode)
Indicates whether the current object is equal to another object of the same type.
(Inherited from WrapperNode.)
Public methodEquals(IUriNode)
Indicates whether the current object is equal to another object of the same type.
(Inherited from WrapperNode.)
Public methodEquals(IVariableNode)
Indicates whether the current object is equal to another object of the same type.
(Inherited from WrapperNode.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from WrapperNode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemove(String)
Retracts statements with this subject and equivalent to predicate.
Public methodRemove(Uri)
Retracts statements with this subject and equivalent to predicate.
Public methodRemove(INode)
Retracts statements with this subject and predicate.
Public methodRemove(String, Object)
Retracts statements with this subject, predicate equivalent to predicate and objects equivalent to objects.
Public methodRemove(Uri, Object)
Retracts statements with this subject, predicate equivalent to predicate and objects equivalent to objects.
Public methodRemove(INode, Object)
Retracts statements with this subject, predicate and objects equivalent to objects.
Public methodToString
Returns a string that represents the current object.
(Inherited from WrapperNode.)
Public methodToString(INodeFormatter)
Gets the String representation of the Node formatted with the given Node formatter.
(Inherited from WrapperNode.)
Public methodToString(INodeFormatter, TripleSegment)
Gets the String representation of the Node formatted with the given Node formatter.
(Inherited from WrapperNode.)
Public methodTryGetValue(String, Object)
Tries to get an object collection.
Public methodTryGetValue(Uri, Object)
Tries to get an object collection.
Public methodTryGetValue(INode, Object)
Tries to get an object collection.
Top
Extension Methods
  NameDescription
Public Extension MethodAsDynamic
Dynamically wraps a node.
(Defined by DynamicExtensions.)
Public Extension MethodAsValuedNode
Takes a INode and converts it to a IValuedNode if it is not already an instance that implements the interface.
(Defined by ValuedNodeExtensions.)
Public Extension MethodCopyNode(IGraph)Overloaded.
Copies a Node to the target Graph.
(Defined by Extensions.)
Public Extension MethodCopyNode(IGraph, Boolean)Overloaded.
Copies a Node to the target Graph.
(Defined by Extensions.)
Public Extension MethodIsDisjointKeyValuePairString, Object(IEnumerableKeyValuePairString, Object)Overloaded.
Determines whether the contents of two enumerables are disjoint.
(Defined by Extensions.)
Public Extension MethodIsDisjointKeyValuePairUri, Object(IEnumerableKeyValuePairUri, Object)Overloaded. (Defined by Extensions.)
Public Extension MethodIsDisjointKeyValuePairINode, Object(IEnumerableKeyValuePairINode, Object)Overloaded. (Defined by Extensions.)
Public Extension MethodIsListRoot
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.
(Defined by Extensions.)
Top
See Also