DotNet.Ships.Record.SlefDiagnostic - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki

EliteDangerousAlmanac / Ships / SlefDiagnostic

Record: SlefDiagnostic

Defined in: dotnet/src/EliteDangerousAlmanac/Ships/SlefDiagnostics.cs:83

One entry a SLEF inspection rejected.

Constructors

new SlefDiagnostic()

new SlefDiagnostic(Index, Code, Path, Constraint, Message)

Parameters

Index

int

The entry's own position in the payload, counted from zero.

Code

SlefDiagnosticCode

The category the rejection falls in.

Path

string

The property path to the rejected value, the entry and module positions included, such as entries[0].data.Modules[3].Priority.

Constraint

SlefConstraint

The field-level rule the value broke.

Message

string

The English reading of the rejection.

Properties

Code

Code: SlefDiagnosticCode

The category the rejection falls in.

Constraint

Constraint: SlefConstraint

The field-level rule the value broke.

Index

Index: int

The entry's own position in the payload, counted from zero.

Message

Message: string

The English reading of the rejection.

Path

Path: string

The property path to the rejected value, the entry and module positions included, such as entries[0].data.Modules[3].Priority.

Slot

Slot: string?

Defined in: dotnet/src/EliteDangerousAlmanac/Ships/SlefDiagnostics.cs:99

The mount two modules both named, on a duplicate-mount rejection, and null on every other one.

Remarks

It is the mount as the source spelled it, at full length. The name inside SlefDiagnostic.Message is shortened, so read this one to report the mount itself.

⚠️ **GitHub.com Fallback** ⚠️