Class Element
A common base class for Graph elements.
Assembly: Gremlin.Net.dll
Syntax
public abstract class Element : IEquatable<Element>
Constructors
Element(object, string)
Initializes a new instance of the Element class.
Declaration
protected Element(object id, string label)
Parameters
Type |
Name |
Description |
object |
id |
The id of the element.
|
string |
label |
The label of the element.
|
Properties
Id
Declaration
public object Id { get; }
Property Value
Label
Declaration
public string Label { get; }
Property Value
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