GraphNode Class |
Namespace: Dse.Graph
[SerializableAttribute] public class GraphNode : DynamicObject, IEquatable<GraphNode>, IGraphNode, IEquatable<IGraphNode>, ISerializable
The GraphNode type exposes the following members.
Name | Description | |
---|---|---|
IsArray |
Returns true if the underlying value is an array.
| |
IsObjectTree |
Returns true if the underlying value is an object tree.
| |
IsScalar |
Returns true if the underlying value is a scalar value (string, double, boolean, ...).
|
Name | Description | |
---|---|---|
Equals(Object) |
Returns true if the value represented by this instance is the same.
(Overrides ObjectEquals(Object).) | |
Equals(GraphNode) |
Returns true if the value represented by this instance is the same.
| |
Equals(IGraphNode) | ||
GetT |
Gets the typed value of a property of the result.
| |
GetDynamicMemberNames | Returns the enumeration of all dynamic member names. (Inherited from DynamicObject.) | |
GetHashCode |
Gets the hash code for this instance, based on its value.
(Overrides ObjectGetHashCode.) | |
GetMetaObject | 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.) | |
GetObjectData | Populates a SerializationInfo with the data needed to serialize the target object. | |
GetProperties |
Gets the a dictionary of properties of this node.
| |
GetRaw |
Gets the raw data represented by this instance.
Raw internal representation might be different depending on the graph serialization format and it is subject to change without any prior notice. | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
HasProperty |
Returns true if the property is defined in this instance.
| |
To(Type) |
Returns the representation of the GraphNode as an instance of the type provided.
| |
ToT |
Returns the representation of the GraphNode as an instance of type T.
| |
ToArray |
Converts the instance into an array when the internal representation is a json array.
| |
ToBoolean |
Returns the representation of the result as a boolean.
| |
ToDouble |
Returns the representation of the result as a double.
| |
ToEdge | ||
ToIArray |
Converts the instance into an array when the internal representation is a json array.
| |
ToInt32 |
Returns the representation of the result as an int.
| |
ToPath | ||
ToString |
Returns the json representation of the result.
(Overrides ObjectToString.) | |
ToVertex | ||
TryBinaryOperation | 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.) | |
TryConvert | (Overrides DynamicObjectTryConvert(ConvertBinder, Object).) | |
TryCreateInstance | 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.) | |
TryDeleteIndex | 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.) | |
TryDeleteMember | 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.) | |
TryGetIndex | 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.) | |
TryGetMember |
Provides the implementation for operations that get member values.
(Overrides DynamicObjectTryGetMember(GetMemberBinder, Object).) | |
TryInvoke | 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.) | |
TryInvokeMember | 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.) | |
TrySetIndex | 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.) | |
TrySetMember | 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.) | |
TryUnaryOperation | 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.) |
Name | Description | |
---|---|---|
Equality |
Returns true if the value represented by the instances are the same.
| |
(GraphNode to Vertex) |
Converts this instance to a Vertex instance.
| |
(GraphNode to Edge) |
Converts this instance to an Edge instance.
| |
(GraphNode to Path) |
Converts this instance to a Path instance.
| |
(GraphNode to String) |
Converts this instance to a string representation.
| |
(GraphNode to Int16) |
Converts this instance to a short representation.
| |
(GraphNode to Int32) |
Converts this instance to an int representation.
| |
(GraphNode to Int64) |
Converts this instance to a long representation.
| |
(GraphNode to Single) |
Converts this instance to a float representation.
| |
(GraphNode to Double) |
Converts this instance to a long representation.
| |
(GraphNode to Boolean) |
Converts this instance to a boolean representation.
| |
Inequality |
Compares the values for inequality.
|