MessageFormatter.Format Method
Overloads
Name | Description |
---|---|
Format<TNode>(Node<TNode>, MessageLevel, MessageFormatterOptions) | Lazily enumerates over all Messages of the specified MessageLevel in the specified node. |
Lazily enumerates over all Messages in the specified node, grouping by Level in descending order. I.e. Error then Warning and then Info. |
Format<TNode>(Node<TNode>, MessageLevel, MessageFormatterOptions)
Lazily enumerates over all Messages of the specified MessageLevel in the specified node.
Type Parameters
Name | Description |
---|---|
TNode | The type of the node. |
Parameters
Name | Type | Description |
---|---|---|
node | The node. | |
level | The MessageLevel. | |
options | The MessageFormatterOptions to use. If not specified then Default is used. |
Returns
A lazy enumeration of formatted Messages.
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.
Type Parameters
Name | Description |
---|---|
TNode | The type of the node. |
Parameters
Name | Type | Description |
---|---|---|
node | The node. | |
options | The MessageFormatterOptions to use. If not specified then Default is used. |