Class MessageUtil
Extension helpers for reporting SimpleMessage records onto an
IProgress<T> of IMessage sink — the IMessage-channel
counterpart of NcDiagnosticProgress's shorthand methods. Every helper is named
{Category}{Severity} and is id-first; the structured id is used for
filtering / suppression. All overloads are null-safe on host.
public static class MessageUtil
- Inheritance
-
MessageUtil
- Inherited Members
Methods
ConfigurationError(IProgress<IMessage>, string, string, object)
Reports Configuration + Error (dependency/config missing, cannot proceed).
public static void ConfigurationError(this IProgress<IMessage> host, string id, string text, object detail = null)
Parameters
ConfigurationMessage(IProgress<IMessage>, string, string, object)
Reports Configuration + Message (dependency/config applied, informational).
public static void ConfigurationMessage(this IProgress<IMessage> host, string id, string text, object detail = null)
Parameters
ConfigurationWarning(IProgress<IMessage>, string, string, object)
Reports Configuration + Warning (dependency/config missing, using fallback).
public static void ConfigurationWarning(this IProgress<IMessage> host, string id, string text, object detail = null)
Parameters
SystemError(IProgress<IMessage>, string, string, object)
public static void SystemError(this IProgress<IMessage> host, string id, string text, object detail = null)
Parameters
SystemMessage(IProgress<IMessage>, string, string, object)
public static void SystemMessage(this IProgress<IMessage> host, string id, string text, object detail = null)
Parameters
SystemProgress(IProgress<IMessage>, string, string, object)
public static void SystemProgress(this IProgress<IMessage> host, string id, string text, object detail = null)
Parameters
SystemSuccess(IProgress<IMessage>, string, string, object)
public static void SystemSuccess(this IProgress<IMessage> host, string id, string text, object detail = null)
Parameters
SystemWarning(IProgress<IMessage>, string, string, object)
public static void SystemWarning(this IProgress<IMessage> host, string id, string text, object detail = null)
Parameters
UnsupportedError(IProgress<IMessage>, string, string, object)
Reports Unsupported + Error (recognized but unimplemented, likely matters).
public static void UnsupportedError(this IProgress<IMessage> host, string id, string text, object detail = null)
Parameters
UnsupportedMessage(IProgress<IMessage>, string, string, object)
Reports Unsupported + Message (recognized, intentionally not simulated).
public static void UnsupportedMessage(this IProgress<IMessage> host, string id, string text, object detail = null)
Parameters
UnsupportedWarning(IProgress<IMessage>, string, string, object)
Reports Unsupported + Warning (recognized but unimplemented, likely harmless).
public static void UnsupportedWarning(this IProgress<IMessage> host, string id, string text, object detail = null)
Parameters
ValidationError(IProgress<IMessage>, string, string, object)
Reports Validation + Error (manufacturing/physics is unfeasible).
public static void ValidationError(this IProgress<IMessage> host, string id, string text, object detail = null)
Parameters
ValidationWarning(IProgress<IMessage>, string, string, object)
Reports Validation + Warning (manufacturing/physics may be unfeasible).
public static void ValidationWarning(this IProgress<IMessage> host, string id, string text, object detail = null)