Table of Contents

Class Instruction

Namespace
Gremlin.Net.Process.Traversal
Assembly
Gremlin.Net.dll

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

public class Instruction : IEquatable<Instruction>
Inheritance
Instruction
Implements
Inherited Members

Constructors

Instruction(string, params dynamic?[])

Initializes a new instance of the Instruction class.

public Instruction(string operatorName, params dynamic?[] arguments)

Parameters

operatorName string

The name of the operator.

arguments dynamic[]

The arguments.

Properties

Arguments

Gets the arguments.

public dynamic?[] Arguments { get; }

Property Value

dynamic[]

OperatorName

Gets the name of the operator.

public string OperatorName { get; }

Property Value

string

Methods

Equals(Instruction?)

public bool Equals(Instruction? other)

Parameters

other Instruction

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

String representation of the Instruction.

public override string ToString()

Returns

string