Search Results for

    Show / Hide Table of Contents

    Class Element

    A common base class for Graph elements.

    Inheritance
    object
    Element
    Edge
    Vertex
    VertexProperty
    Implements
    IEquatable<Element>
    Inherited Members
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Gremlin.Net.Structure
    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

    Gets the id of this Element.

    Declaration
    public object? Id { get; }
    Property Value
    Type Description
    object

    Label

    Gets the label of this Element.

    Declaration
    public string Label { get; }
    Property Value
    Type Description
    string

    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
    Type Description
    bool

    Equals(object?)

    Declaration
    public override bool Equals(object? obj)
    Parameters
    Type Name Description
    object obj
    Returns
    Type Description
    bool
    Overrides
    object.Equals(object)

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    Overrides
    object.GetHashCode()

    Implements

    IEquatable<T>
    In this article
    Back to top Copyright © 2018 The Apache Software Foundation