CodeElement Constructor (String, IEnumerable String )FormatC Syntax Highlighting Class Library
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.0.0.0 (2.0.0.0)
Syntax

public CodeElement(
	string name,
	IEnumerable<string> values
)

Parameters

name
Type: OnlineSystem String
The name of this code element. This name will be used as the CSS class name for the generated HTML elements.
values
Type: OnlineSystem.Collections.Generic IEnumerable OnlineString 
A list of identifiers that this code element should match.
Exceptions

ExceptionCondition
OnlineSystem ArgumentNullExceptionname is   or values is  .
OnlineSystem ArgumentExceptionname is an empty string.
Remarks

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