Class Element
A common base class for Graph elements.
Assembly: Gremlin.Net.dll
Syntax
public abstract class Element : IEquatable<Element>
Constructors
Element(object?, string, dynamic[]?)
Initializes a new instance of the Element class.
Declaration
protected Element(object? id, string label, dynamic[]? properties = null)
Parameters
Type |
Name |
Description |
object |
id |
The id of the element.
|
string |
label |
The label of the element.
|
dynamic[] |
properties |
Optional properties of the element.
|
Properties
Id
Declaration
public object? Id { get; }
Property Value
Label
Declaration
public string Label { get; }
Property Value
Properties
Gets the properties of this Element.
Declaration
public dynamic[]? Properties { get; }
Property Value
Type |
Description |
dynamic[] |
|
Methods
Equals(Element?)
Declaration
public bool Equals(Element? other)
Parameters
Type |
Name |
Description |
Element |
other |
|
Returns
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
Type |
Name |
Description |
object |
obj |
|
Returns
Overrides
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
Implements