Click or drag to resize

CodeElement Constructor (String, IEnumerableString)

Initializes a new instance of the CodeElement class with the specified name and list of values.

Namespace:  Ookii.FormatC
Assembly:  Ookii.FormatC (in Ookii.FormatC.dll) Version: 2.1.0
Syntax
public CodeElement(
	string name,
	IEnumerable<string> values
)

Parameters

name
Type: SystemString
The name of this code element. This name will be used as the CSS class name for the generated HTML elements.
values
Type: System.Collections.GenericIEnumerableString
A list of identifiers that this code element should match.
Exceptions
ExceptionCondition
ArgumentNullExceptionname is or values is .
ArgumentExceptionname is an empty string.
Remarks
This constructor automatically creates a pattern to match the specified values.
See Also