Click or drag to resize
GraphNode Class
Represents an item of a graph query result, it can be a vertex, an edge, a path or an scalar value.
Inheritance Hierarchy
SystemObject
  System.DynamicDynamicObject
    Dse.GraphGraphNode

Namespace: Dse.Graph
Assembly: Dse (in Dse.dll) Version: 1.0.0.0
Syntax
C#
[SerializableAttribute]
public class GraphNode : DynamicObject, IEquatable<GraphNode>, 
	ISerializable

The GraphNode type exposes the following members.

Constructors
  NameDescription
Public methodGraphNode
Creates a new instance of GraphNode.
Top
Methods
  NameDescription
Public methodEquals(Object)
Returns true if the value represented by this instance is the same.
(Overrides ObjectEquals(Object).)
Public methodEquals(GraphNode)
Returns true if the value represented by this instance is the same.
Public methodGetT
Gets the typed value of a property of the result.
Public methodGetDynamicMemberNames
Returns the enumeration of all dynamic member names.
(Inherited from DynamicObject.)
Public methodGetHashCode
Gets the hash code for this instance, based on its value.
(Overrides ObjectGetHashCode.)
Public methodGetMetaObject
Provides a DynamicMetaObject that dispatches to the dynamic virtual methods. The object can be encapsulated inside another DynamicMetaObject to provide custom behavior for individual actions. This method supports the Dynamic Language Runtime infrastructure for language implementers and it is not intended to be used directly from your code.
(Inherited from DynamicObject.)
Public methodGetObjectData
Populates a SerializationInfo with the data needed to serialize the target object.
Public methodGetProperties
Gets the a dictionary of properties of this node.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHasProperty
Returns true if the property is defined in this instance.
Public methodToT
Returns the representation of the GraphNode as an instance of type T.
Public methodToArray
Converts the instance into an array when the internal representation is a json array.
Public methodToBoolean
Returns the representation of the result as a boolean.
Public methodToDouble
Returns the representation of the result as a double.
Public methodToEdge
Returns an edge representation of the current instance.
Public methodToInt32
Returns the representation of the result as an int.
Public methodToPath
Returns a Path representation of the current instance.
Public methodToString
Returns the json representation of the result.
(Overrides ObjectToString.)
Public methodToVertex
Returns a vertex representation of the current instance.
Public methodTryBinaryOperation
Provides implementation for binary operations. Classes derived from the DynamicObject class can override this method to specify dynamic behavior for operations such as addition and multiplication.
(Inherited from DynamicObject.)
Public methodTryConvert
Provides implementation for type conversion operations. Classes derived from the DynamicObject class can override this method to specify dynamic behavior for operations that convert an object from one type to another.
(Inherited from DynamicObject.)
Public methodTryCreateInstance
Provides the implementation for operations that initialize a new instance of a dynamic object. This method is not intended for use in C# or Visual Basic.
(Inherited from DynamicObject.)
Public methodTryDeleteIndex
Provides the implementation for operations that delete an object by index. This method is not intended for use in C# or Visual Basic.
(Inherited from DynamicObject.)
Public methodTryDeleteMember
Provides the implementation for operations that delete an object member. This method is not intended for use in C# or Visual Basic.
(Inherited from DynamicObject.)
Public methodTryGetIndex
Provides the implementation for operations that get a value by index. Classes derived from the DynamicObject class can override this method to specify dynamic behavior for indexing operations.
(Inherited from DynamicObject.)
Public methodTryGetMember
Provides the implementation for operations that get member values.
(Overrides DynamicObjectTryGetMember(GetMemberBinder, Object).)
Public methodTryInvoke
Provides the implementation for operations that invoke an object. Classes derived from the DynamicObject class can override this method to specify dynamic behavior for operations such as invoking an object or a delegate.
(Inherited from DynamicObject.)
Public methodTryInvokeMember
Provides the implementation for operations that invoke a member. Classes derived from the DynamicObject class can override this method to specify dynamic behavior for operations such as calling a method.
(Inherited from DynamicObject.)
Public methodTrySetIndex
Provides the implementation for operations that set a value by index. Classes derived from the DynamicObject class can override this method to specify dynamic behavior for operations that access objects by a specified index.
(Inherited from DynamicObject.)
Public methodTrySetMember
Provides the implementation for operations that set member values. Classes derived from the DynamicObject class can override this method to specify dynamic behavior for operations such as setting a value for a property.
(Inherited from DynamicObject.)
Public methodTryUnaryOperation
Provides implementation for unary operations. Classes derived from the DynamicObject class can override this method to specify dynamic behavior for operations such as negation, increment, or decrement.
(Inherited from DynamicObject.)
Top
Operators
Properties
  NameDescription
Public propertyIsArray
Returns true if the underlying value is an array.
Public propertyIsObjectTree
Returns true if the underlying value is an object tree.
Public propertyIsScalar
Returns true if the underlying value is a scalar value (string, double, boolean, ...).
Top
See Also