Class VB6ImportDiagnostic
- Namespace
- RDCore.Forms.Import.VB6
- Assembly
- RDCore.Forms.dll
One thing a VB6 import reports about the file it read.
public sealed record VB6ImportDiagnostic : IEquatable<VB6ImportDiagnostic>
- Inheritance
-
VB6ImportDiagnostic
- Implements
- Inherited Members
Constructors
VB6ImportDiagnostic(VB6ImportDiagnosticKind, VB6ImportSeverity, int, string)
One thing a VB6 import reports about the file it read.
public VB6ImportDiagnostic(VB6ImportDiagnosticKind Kind, VB6ImportSeverity Severity, int Line, string Message)
Parameters
KindVB6ImportDiagnosticKindWhat is reported.
SeverityVB6ImportSeverityHow much the reported thing costs the import.
LineintThe 1-based line of the designer file it is about.
MessagestringThe report, in the current UI culture.
Properties
Kind
What is reported.
public VB6ImportDiagnosticKind Kind { get; init; }
Property Value
Line
The 1-based line of the designer file it is about.
public int Line { get; init; }
Property Value
Message
The report, in the current UI culture.
public string Message { get; init; }
Property Value
Severity
How much the reported thing costs the import.
public VB6ImportSeverity Severity { get; init; }
Property Value
Methods
ToString()
The line, the severity and the message.
public override string ToString()
Returns
- string
The diagnostic as text.