Table of Contents

Class IndexDiagnostic

Namespace
EncDotNet.S100.Collections
Assembly
EncDotNet.S100.Collections.dll

A problem met while indexing a source.

public sealed record IndexDiagnostic : IEquatable<IndexDiagnostic>
Inheritance
IndexDiagnostic
Implements
Inherited Members

Constructors

IndexDiagnostic(IndexDiagnosticSeverity, string, string?)

A problem met while indexing a source.

public IndexDiagnostic(IndexDiagnosticSeverity Severity, string Message, string? Path = null)

Parameters

Severity IndexDiagnosticSeverity

How serious the problem is.

Message string

A human-readable description.

Path string

The file or entry concerned, if any.

Properties

Code

What kind of problem it is, for hosts that explain or act on it without parsing Message, e.g. a SecomDiagnosticCodes value; null when there is none.

public string? Code { get; init; }

Property Value

string

Message

A human-readable description.

public string Message { get; init; }

Property Value

string

Path

The file or entry concerned, if any.

public string? Path { get; init; }

Property Value

string

Severity

How serious the problem is.

public IndexDiagnosticSeverity Severity { get; init; }

Property Value

IndexDiagnosticSeverity