Table of Contents

Class MessageUtil

Namespace
Hi.Common.Messages
Assembly
HiGeom.dll

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

host IProgress<IMessage>
id string
text string
detail object

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

host IProgress<IMessage>
id string
text string
detail object

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

host IProgress<IMessage>
id string
text string
detail object

SystemError(IProgress<IMessage>, string, string, object)

Reports System + Error (exception or unconsidered case).

public static void SystemError(this IProgress<IMessage> host, string id, string text, object detail = null)

Parameters

host IProgress<IMessage>
id string
text string
detail object

SystemMessage(IProgress<IMessage>, string, string, object)

Reports System + Message (pipeline lifecycle / informational).

public static void SystemMessage(this IProgress<IMessage> host, string id, string text, object detail = null)

Parameters

host IProgress<IMessage>
id string
text string
detail object

SystemProgress(IProgress<IMessage>, string, string, object)

Reports System + Progress (ongoing pipeline progress).

public static void SystemProgress(this IProgress<IMessage> host, string id, string text, object detail = null)

Parameters

host IProgress<IMessage>
id string
text string
detail object

SystemSuccess(IProgress<IMessage>, string, string, object)

Reports System + Success (pipeline step completed).

public static void SystemSuccess(this IProgress<IMessage> host, string id, string text, object detail = null)

Parameters

host IProgress<IMessage>
id string
text string
detail object

SystemWarning(IProgress<IMessage>, string, string, object)

Reports System + Warning (pipeline anomaly, processing continues).

public static void SystemWarning(this IProgress<IMessage> host, string id, string text, object detail = null)

Parameters

host IProgress<IMessage>
id string
text string
detail object

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

host IProgress<IMessage>
id string
text string
detail object

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

host IProgress<IMessage>
id string
text string
detail object

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

host IProgress<IMessage>
id string
text string
detail object

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

host IProgress<IMessage>
id string
text string
detail object

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)

Parameters

host IProgress<IMessage>
id string
text string
detail object