ColorizationRule(String, String, String) Constructor

Constructor. Defines a rule with a pattern, a region name to limit the match to a specific part of the pattern, and a class name.

Definition

Namespace: Sandcastle.Tools.BuildComponents.Snippets
Assembly: Sandcastle.Tools.BuildComponents (in Sandcastle.Tools.BuildComponents.dll) Version: 2024.12.21.0
public ColorizationRule(
	string pattern,
	string region,
	string className
)

Parameters

pattern  String
The regular expression used to match the region text
region  String
The region name that defines the named part of the regular expression to return for each match.
className  String
The class name to apply to the region

See Also