Search Results for

    Show / Hide Table of Contents

    Class Element

    A common base class for Graph elements.

    Inheritance
    System.Object
    Element
    Edge
    Vertex
    VertexProperty
    Implements
    System.IEquatable<Element>
    Inherited Members
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ToString()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: Gremlin.Net.Structure
    Assembly: cs.temp.dll.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
    System.Object id

    The id of the element.

    System.String label

    The label of the element.

    Properties

    Id

    Gets the id of this Element.

    Declaration
    public object Id { get; }
    Property Value
    Type Description
    System.Object

    Label

    Gets the label of this Element.

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

    Methods

    Equals(Element)

    Declaration
    public bool Equals(Element other)
    Parameters
    Type Name Description
    Element other
    Returns
    Type Description
    System.Boolean

    Equals(Object)

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

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    Overrides
    System.Object.GetHashCode()

    Implements

    System.IEquatable<T>
    In This Article
    Back to top Copyright © 2018 The Apache Software Foundation