Gets a list of regular expression patterns used to identify elements of the code.
Namespace: Ookii.FormatCAssembly: Ookii.FormatC (in Ookii.FormatC.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
IEnumerable<CodeElement> Patterns { get; }
Field Value
A list of CodeElement classes that provide regular expressions for identifying elements of the code.Remarks
When implementing this property, you should return a CodeElement for each element that needs a different formatting style, such as keywords, comments or strings. The Name property will be used as the CSS class name in the HTML output of the CodeFormatter.
When processing the source code, the CodeFormatter will process the patterns in the order they are provided here.
See Also