Table of Contents

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

Kind VB6ImportDiagnosticKind

What is reported.

Severity VB6ImportSeverity

How much the reported thing costs the import.

Line int

The 1-based line of the designer file it is about.

Message string

The report, in the current UI culture.

Properties

Kind

What is reported.

public VB6ImportDiagnosticKind Kind { get; init; }

Property Value

VB6ImportDiagnosticKind

Line

The 1-based line of the designer file it is about.

public int Line { get; init; }

Property Value

int

Message

The report, in the current UI culture.

public string Message { get; init; }

Property Value

string

Severity

How much the reported thing costs the import.

public VB6ImportSeverity Severity { get; init; }

Property Value

VB6ImportSeverity

Methods

ToString()

The line, the severity and the message.

public override string ToString()

Returns

string

The diagnostic as text.