Class Element
A common base class for Graph elements.
public abstract class Element : IEquatable<Element>
- Inheritance
-
Element
- Implements
- Derived
- Inherited Members
Constructors
Element(object?, string, dynamic[]?)
Initializes a new instance of the Element class.
protected Element(object? id, string label, dynamic[]? properties = null)
Parameters
id
objectThe id of the element.
label
stringThe label of the element.
properties
dynamic[]Optional properties of the element.
Properties
Id
Gets the id of this Element.
public object? Id { get; }
Property Value
Label
Gets the label of this Element.
public string Label { get; }
Property Value
Properties
Gets the properties of this Element.
public dynamic[]? Properties { get; }
Property Value
- dynamic[]
Methods
Equals(Element?)
public bool Equals(Element? other)
Parameters
other
Element
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
obj
object
Returns
GetHashCode()
public override int GetHashCode()