MessageFormatterOptions Class ​
Definition ​
Options for the MessageFormatter.
c#
public sealed class MessageFormatterOptionsConstructors ​
| Name | Description |
|---|---|
MessageFormatterOptions() |
Properties ​
| Name | Description |
|---|---|
Default | MessageFormatterOptions with PrefixWithSourcePosition = false and HighlightSourcePosition = false. |
HighlightOnly | MessageFormatterOptions with PrefixWithSourcePosition = false and HighlightSourcePosition = true. |
HighlightSourcePosition | Whether to suffix the message with a highlight of the message in its line. |
PrefixAndHighlight | MessageFormatterOptions with PrefixWithSourcePosition = true and HighlightSourcePosition = true. |
PrefixOnly | MessageFormatterOptions with PrefixWithSourcePosition = true and HighlightSourcePosition = false. |
PrefixWithSourcePosition | Whether to prefix the message with the source position or not. |