LaunchBoxContributors
On this page

PlayActivityDiagnostic14.1

Class in Unbroken.LaunchBox.Plugins.Components.Activity

C#
public sealed class PlayActivityDiagnostic
Describes a localized activity issue without exposing secrets or exception text.

Constructors

PlayActivityDiagnostic

C#
public PlayActivityDiagnostic(
    string code,
    DiagnosticSeverity severity,
    PluginText message,
    string? itemId = null
)
Creates a diagnostic.
code
Stable diagnostic code.
severity
Severity of the issue.
message
Plugin-owned translatable message.
itemId
Optional source-local item ID.

Properties

  • CodeGets the stable code.
  • ItemIdGets the affected item ID, if any.
  • MessageGets the localized message.
  • SeverityGets the severity.

Code

C#
public string Code { get; }
Gets the stable code.

ItemId

C#
public string? ItemId { get; }
Gets the affected item ID, if any.

Message

C#
public PluginText Message { get; }
Gets the localized message.

Severity

C#
public DiagnosticSeverity Severity { get; }
Gets the severity.