Click or drag to resize

CodeElement Class

Represents an element of source code, such as keywords, comments or strings, and the regular expression that can be used to identify them.
Inheritance Hierarchy
SystemObject
  Ookii.FormatCCodeElement

Namespace:  Ookii.FormatC
Assembly:  Ookii.FormatC (in Ookii.FormatC.dll) Version: 2.1.0
Syntax
public class CodeElement

The CodeElement type exposes the following members.

Constructors
  NameDescription
Public methodCodeElement(String, IEnumerableString)
Initializes a new instance of the CodeElement class with the specified name and list of values.
Public methodCodeElement(String, String)
Initializes a new instance of the CodeElement class with the specified name and regular expression.
Top
Properties
  NameDescription
Public propertyElementNameIsCssClass
Gets or sets a value indicating whether the Name of this CodeElement is a CSS class to be used in the output.
Public propertyMatchValueProcessor
Gets or sets a delegate that will be used to process the value of the regex match.
Public propertyName
Gets the name of this code element.
Public propertyRegex
Gets the regular expression for this code element.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Thread Safety
Static members of this type are safe for multi-threaded operations. Instance members of this type are safe for multi-threaded operations.
See Also