Click or drag to resize

ConsoleWordHighlightingRuleRegex Class

Highlighting rule for Win32 colorful console.
Inheritance Hierarchy
SystemObject
  NLog.TargetsConsoleWordHighlightingRule
    NLog.TargetsConsoleWordHighlightingRuleRegex

Namespace:  NLog.Targets
Assembly:  NLog.RegEx (in NLog.RegEx.dll) Version: 6.0.3+e276e1969a52b8ecc5cc84c1670a516efea0cb19
Syntax
public class ConsoleWordHighlightingRuleRegex : ConsoleWordHighlightingRule

The ConsoleWordHighlightingRuleRegex type exposes the following members.

Constructors
  NameDescription
Public methodConsoleWordHighlightingRuleRegex
Initializes a new instance of the ConsoleWordHighlightingRuleRegex class
Top
Properties
  NameDescription
Public propertyBackgroundColor
Gets or sets the background color.
(Inherited from ConsoleWordHighlightingRule.)
Public propertyCompileRegex
Compile the Regex? This can improve the performance, but at the costs of more memory usage. If , the Regex Cache is used.
Public propertyCondition
Gets or sets the condition that must be met before scanning the row for highlight of words
(Inherited from ConsoleWordHighlightingRule.)
Public propertyForegroundColor
Gets or sets the foreground color.
(Inherited from ConsoleWordHighlightingRule.)
Public propertyIgnoreCase
Gets or sets a value indicating whether to ignore case when comparing texts.
(Inherited from ConsoleWordHighlightingRule.)
Public propertyRegex
Gets or sets the regular expression to be matched. You must specify either text or regex.
Public propertyText
Gets or sets the text to be matched for Highlighting.
(Inherited from ConsoleWordHighlightingRule.)
Public propertyWholeWords
Gets or sets a value indicating whether to match whole words only.
(Inherited from ConsoleWordHighlightingRule.)
Public propertyWords
Gets or sets the list of words to be matched for Highlighting.
(Inherited from ConsoleWordHighlightingRule.)
Top
Methods
See Also