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
SeverityIndexDiagnosticSeverityHow serious the problem is.
MessagestringA human-readable description.
PathstringThe 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
Message
A human-readable description.
public string Message { get; init; }
Property Value
Path
The file or entry concerned, if any.
public string? Path { get; init; }
Property Value
Severity
How serious the problem is.
public IndexDiagnosticSeverity Severity { get; init; }