Initializes a new instance of the CodeElement class with the specified name and list of values.
Namespace: Ookii.FormatCAssembly: 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:
System String
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.Generic IEnumerable
String
A list of identifiers that this code element should match.
Exceptions
Exception | Condition |
---|---|
![]() | name is or values is . |
![]() | name is an empty string. |
Remarks
See Also