MessageFormatter.FormatErrors Method ​
Definition ​
Lazily enumerates over all Errors in the specified node.
c#
public static IEnumerable<string> FormatErrors<TNode>(Node<TNode> node, MessageFormatterOptions? options = null)
where TNode : Node<TNode>;Type Parameters ​
| Name | Description |
|---|---|
TNode | The type of the node. |
Parameters ​
| Name | Type | Description |
|---|---|---|
node | Node<TNode> | The node. |
options | MessageFormatterOptions | The MessageFormatterOptions to use. If not specified then Default is used. |
Returns ​
A lazy enumeration of formatted errors.