Skip to content

MessageFormatter Class

Definition

Utility methods to format Messages as strings. Formatting optionally includes the original source code.

public static class MessageFormatter

View source

Methods

Name Description
Format<TNode>(Node<TNode>, MessageLevel, MessageFormatterOptions) Lazily enumerates over all Messages of the specified MessageLevel in the specified node.
Format<TNode>(Node<TNode>, MessageFormatterOptions) Lazily enumerates over all Messages in the specified node, grouping by Level in descending order. I.e. Error then Warning and then Info.
FormatErrors<TNode>(Node<TNode>, MessageFormatterOptions) Lazily enumerates over all Errors in the specified node.