Search Results for

    Show / Hide Table of Contents

    Class Instruction

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

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

    Constructors

    Instruction(String, Object[])

    Initializes a new instance of the Instruction class.

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

    The name of the operator.

    System.Object[] arguments

    The arguments.

    Properties

    Arguments

    Gets the arguments.

    Declaration
    public dynamic[] Arguments { get; }
    Property Value
    Type Description
    System.Object[]

    OperatorName

    Gets the name of the operator.

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

    Methods

    Equals(Instruction)

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

    ToString()

    String representation of the Instruction.

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    System.Object.ToString()

    Implements

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