Click or drag to resize

CodeElement Constructor (String, String)

Initializes a new instance of the CodeElement class with the specified name and regular expression.

Namespace:  Ookii.FormatC
Assembly:  Ookii.FormatC (in Ookii.FormatC.dll) Version: 2.1.0
Syntax
public CodeElement(
	string name,
	string regex
)

Parameters

name
Type: SystemString
The name of this pattern. This name will be used as the CSS class name in the generated HTML.
regex
Type: SystemString
The regular expression for this code element.
Exceptions
ExceptionCondition
ArgumentNullExceptionname is or regex is .
ArgumentExceptionname is an empty string.
See Also