Click or drag to resize

LanguageRegion Class

Represents a region of multi-language source code that should be formatted by a specific region.
Inheritance Hierarchy
SystemObject
  Ookii.FormatCLanguageRegion

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

The LanguageRegion type exposes the following members.

Constructors
  NameDescription
Public methodLanguageRegion
Initializes a new instance of the LanguageRegion class
Top
Properties
  NameDescription
Public propertyCssClass
Gets or sets the CSS class for the entire language region.
Public propertyFormattingInfo
Gets or sets the formatting info used to highlight the language region.
Public propertyLength
Gets or sets the length of the language region.
Public propertyNeedsFullContext
Gets or sets a value indicating whether the formatter needs the full source for context, not just the region itself.
Public propertyStart
Gets or sets the index in the source code of the first character of the language region.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(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.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks

The specified region may itself contain multiple language regions if the formatter specified is not and implements IMultilanguageFormattingInfo.

See Also