Interface IMessage
Common contract for a single reportable item on an IProgress<T>
channel — an NC diagnostic, a step-anchored notice, a simple message, or a progress
fraction. Consumers (GUI / log) treat every kind uniformly through this view, while each
concrete kind is still stored by its own owner (e.g. NcDiagnostic by
NcDiagnosticProgress, ClStripPos by ClStrip) rather than being mixed
into one shared collection.
public interface IMessage
- Extension Methods
Methods
GetCategory()
Gets the classification — see Category.
Category GetCategory()
Returns
- Category
The category of this message.
GetDetail()
Gets the optional detail payload or exception; null when not applicable.
object GetDetail()
Returns
- object
The detail object, or null.
GetId()
Gets the structured id used for filtering / suppression; may be null.
string GetId()
Returns
- string
The message id, or null when not applicable.
GetNotification()
Gets the end-user friendly notification text.
string GetNotification()
Returns
- string
The notification text.
GetSeverity()
Gets the importance level — see Severity.
Severity GetSeverity()
Returns
- Severity
The severity of this message.