RunicWindowDiagnostic record

Namespace Runic.Application.Views in Runic.Application.Views 0.23.0

public sealed record RunicWindowDiagnostic : IEquatable<RunicWindowDiagnostic>

Inherits or implements IEquatable.

One finding of a Window check, on any host.

Parameters

Code

The stable code, such as bridge-not-registered.

Message

What the check found.

Remediation

How to fix it, if known.

Constructors

RunicWindowDiagnostic

public RunicWindowDiagnostic(string Code, string Message, string? Remediation = null)

One finding of a Window check, on any host.

Parameters

Code

The stable code, such as bridge-not-registered.

Message

What the check found.

Remediation

How to fix it, if known.

Properties

Code

public string Code { get; init; }

The stable code, such as bridge-not-registered.

Message

public string Message { get; init; }

What the check found.

Option

public string? Option { get; init; }

The option the diagnostic concerns, such as DesktopWindowOptions.Transparent, if any.

Remediation

public string? Remediation { get; init; }

How to fix it, if known.

Severity

public RunicWindowDiagnosticSeverity Severity { get; init; }

Whether the diagnostic prevents the window from opening. The default is RunicWindowDiagnosticSeverity.Error.