CodeElement(String, IEnumerableString) Constructor

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

Definition

Namespace: Ookii.FormatC
Assembly: Ookii.FormatC (in Ookii.FormatC.dll) Version: 2.3.2+a0abe9e363271833c90424d1444b43a67fa5858f
C#
public CodeElement(
	string name,
	IEnumerable<string> values
)

Parameters

name  String
The name of this code element. This name will be used as the CSS class name for the generated HTML elements.
values  IEnumerableString
A list of identifiers that this code element should match.

Remarks

This constructor automatically creates a pattern to match the specified values.

Exceptions

ArgumentNullExceptionname is or values is .
ArgumentExceptionname is an empty string.

See Also