 | ConsoleRowHighlightingRule Constructor (ConditionExpression, ConsoleOutputColor, ConsoleOutputColor) |
Namespace:
NLog.Targets
Assembly:
NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntaxpublic ConsoleRowHighlightingRule(
ConditionExpression? condition,
ConsoleOutputColor foregroundColor,
ConsoleOutputColor backgroundColor
)
Public Sub New (
condition As ConditionExpression,
foregroundColor As ConsoleOutputColor,
backgroundColor As ConsoleOutputColor
)
Dim condition As ConditionExpression
Dim foregroundColor As ConsoleOutputColor
Dim backgroundColor As ConsoleOutputColor
Dim instance As New ConsoleRowHighlightingRule(condition,
foregroundColor, backgroundColor)
new :
condition : ConditionExpression *
foregroundColor : ConsoleOutputColor *
backgroundColor : ConsoleOutputColor -> ConsoleRowHighlightingRule
Parameters
- condition
- Type: NLog.ConditionsConditionExpression
The condition. - foregroundColor
- Type: NLog.TargetsConsoleOutputColor
Color of the foreground. - backgroundColor
- Type: NLog.TargetsConsoleOutputColor
Color of the background.
See Also