Class Instruction
Represents a Bytecode instruction by an operator name and its arguments.
Assembly: Gremlin.Net.dll
Syntax
public class Instruction : IEquatable<Instruction>
Constructors
Instruction(string, params dynamic?[])
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
Declaration
public dynamic?[] Arguments { get; }
Property Value
Type |
Description |
dynamic[] |
|
OperatorName
Gets the name of the operator.
Declaration
public string OperatorName { get; }
Property Value
Methods
Equals(Instruction?)
Declaration
public bool Equals(Instruction? other)
Parameters
Returns
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
Type |
Name |
Description |
object |
obj |
|
Returns
Overrides
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
ToString()
Declaration
public override string ToString()
Returns
Overrides
Implements