GraphvizParseError Struct

An error of a DOT text, with its position.

public readonly struct GraphvizParseError : IEquatable<GraphvizParseError>
Implements

Constructors

NameDescription
GraphvizParseError(string, int, int)An error of a DOT text, with its position.

GraphvizParseError(string, int, int)

An error of a DOT text, with its position.

public GraphvizParseError(string Message, int Line, int Column)

Parameters

Message string
The description of the error.
Line int
The line of the error, from 1.
Column int
The column of the error, from 1, in UTF-16 code units.

Properties

NameDescription
ColumnThe column of the error, from 1, in UTF-16 code units.
LineThe line of the error, from 1.
MessageThe description of the error.

The column of the error, from 1, in UTF-16 code units.

public int Column { get; init; }

Property value

int

The line of the error, from 1.

public int Line { get; init; }

Property value

int

The description of the error.

public string Message { get; init; }

Property value

string

Methods

NameDescription
Deconstruct(string, int, int)
Equals(GraphvizParseError)
Equals(object)
GetHashCode()
ToString()Returns the error as (line, column): message.

Deconstruct(string, int, int)

public void Deconstruct(out string Message, out int Line, out int Column)

Parameters

Message string
Line int
Column int

No documentation is available.

Equals overloads

Equals(GraphvizParseError)

public bool Equals(GraphvizParseError other)
Parameters
other GraphvizParseError
Returns

bool

No documentation is available.

Equals(object)

public override bool Equals(object obj)
Parameters
obj object
Returns

bool

No documentation is available.

GetHashCode()

public override int GetHashCode()

Returns

int

No documentation is available.

Returns the error as (line, column): message.

public override string ToString()

Returns

string The description of the error.

Operators

NameDescription
operator ==(GraphvizParseError, GraphvizParseError)
operator !=(GraphvizParseError, GraphvizParseError)

operator ==(GraphvizParseError, GraphvizParseError)

public static bool operator ==(GraphvizParseError left, GraphvizParseError right)

Parameters

left GraphvizParseError
right GraphvizParseError

Returns

bool

No documentation is available.

operator !=(GraphvizParseError, GraphvizParseError)

public static bool operator !=(GraphvizParseError left, GraphvizParseError right)

Parameters

left GraphvizParseError
right GraphvizParseError

Returns

bool

No documentation is available.