MetalamaAPI documentationAspect APIMetalama.​Framework.​DiagnosticsIDiagnostic­Definition
Open sandboxFocus

IDiagnosticDefinition Interface

A non-generic base interface for DiagnosticDefinition<T>.

Namespace: Metalama.Framework.Diagnostics
Assembly: Metalama.Framework.dll
Syntax
[CompileTime]
public interface IDiagnosticDefinition

Properties

Name Description
Category

Gets the category of the diagnostic (e.g. your product name).

Id

Gets an unique identifier for the diagnostic (e.g. MY001).

MessageFormat

Gets the formatting string of the diagnostic message.

Severity

Gets the severity of the diagnostic.

Title

Gets a short title describing the diagnostic. This title is typically described in the solution explorer of the IDE and does not contain formatting string parameters.

See Also