ColorizationRule Class

This defines a colorization rule

Definition

Namespace: Sandcastle.Tools.BuildComponents.Snippets
Assembly: Sandcastle.Tools.BuildComponents (in Sandcastle.Tools.BuildComponents.dll) Version: 2024.2.18.0
public class ColorizationRule
Inheritance
Object    ColorizationRule

Constructors

ColorizationRule(String, String) Constructor. Defines a rule with a pattern and a class name but no region name
ColorizationRule(String, String, String) 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.

Properties

ClassName This read-only property returns the class name to use for the matched region
Pattern This read-only property returns the regular expression used by the rule
Region This read-only property returns the optional region name used to limit the part of the match that is returned from the matches.

Methods

Apply This returns an enumerable list of captures that match the pattern, if any
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also