Table of Contents

Class RunnerDiagnostic

Namespace
Refitter.Core
Assembly
Refitter.Core.dll

Represents a diagnostic message from a generation run, such as a validation error or warning.

public record RunnerDiagnostic : IEquatable<RunnerDiagnostic>
Inheritance
RunnerDiagnostic
Implements
Inherited Members

Constructors

RunnerDiagnostic(string, bool)

Represents a diagnostic message from a generation run, such as a validation error or warning.

public RunnerDiagnostic(string Message, bool IsError)

Parameters

Message string

The diagnostic message text.

IsError bool

Whether this diagnostic represents an error (true) or a warning (false).

Properties

IsError

Whether this diagnostic represents an error (true) or a warning (false).

public bool IsError { get; init; }

Property Value

bool

Message

The diagnostic message text.

public string Message { get; init; }

Property Value

string