Search Results for

    Show / Hide Table of Contents

    Class Instruction

    Represents a Bytecode instruction by an operator name and its arguments.

    Inheritance
    object
    Instruction
    Implements
    IEquatable<Instruction>
    Inherited Members
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Gremlin.Net.Process.Traversal
    Assembly: Gremlin.Net.dll
    Syntax
    public class Instruction : IEquatable<Instruction>

    Constructors

    Instruction(string, params dynamic?[])

    Initializes a new instance of the Instruction class.

    Declaration
    public Instruction(string operatorName, params dynamic?[] arguments)
    Parameters
    Type Name Description
    string operatorName

    The name of the operator.

    dynamic[] arguments

    The arguments.

    Properties

    Arguments

    Gets the arguments.

    Declaration
    public dynamic?[] Arguments { get; }
    Property Value
    Type Description
    dynamic[]

    OperatorName

    Gets the name of the operator.

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

    Methods

    Equals(Instruction?)

    Declaration
    public bool Equals(Instruction? other)
    Parameters
    Type Name Description
    Instruction 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()

    ToString()

    String representation of the Instruction.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Overrides
    object.ToString()

    Implements

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