Class PluginDiagnosticReference
- Namespace
- DotBoxD.Plugins.Runtime.Diagnostics
- Assembly
- DotBoxD.Plugins.dll
Public reference entry for a single runtime plugin diagnostic
Code emitted by the DotBoxD.Plugins package.
public sealed record PluginDiagnosticReference : IEquatable<PluginDiagnosticReference>
- Inheritance
-
PluginDiagnosticReference
- Implements
- Inherited Members
Constructors
PluginDiagnosticReference(string, PluginDiagnosticPhase, PluginDiagnosticAudience, string, string, string)
Public reference entry for a single runtime plugin diagnostic
Code emitted by the DotBoxD.Plugins package.
public PluginDiagnosticReference(string Code, PluginDiagnosticPhase Phase, PluginDiagnosticAudience Audience, string Meaning, string LikelyCause, string Remediation)
Parameters
CodestringThe stable
DBXK*diagnostic code.PhasePluginDiagnosticPhaseThe runtime phase that emits the code.
AudiencePluginDiagnosticAudienceWho must act on the diagnostic.
MeaningstringA short human-readable description of the rule that was violated.
LikelyCausestringThe most common reason this code is emitted.
RemediationstringGuidance for the plugin author or host operator investigating the code.
Properties
Audience
Who must act on the diagnostic.
public PluginDiagnosticAudience Audience { get; init; }
Property Value
Code
The stable DBXK* diagnostic code.
public string Code { get; init; }
Property Value
LikelyCause
The most common reason this code is emitted.
public string LikelyCause { get; init; }
Property Value
Meaning
A short human-readable description of the rule that was violated.
public string Meaning { get; init; }
Property Value
Phase
The runtime phase that emits the code.
public PluginDiagnosticPhase Phase { get; init; }
Property Value
Remediation
Guidance for the plugin author or host operator investigating the code.
public string Remediation { get; init; }