LanguageRegion Class

Represents a region of multi-language source code that should be formatted by a specific region.

Definition

Namespace: Ookii.FormatC
Assembly: Ookii.FormatC (in Ookii.FormatC.dll) Version: 2.3.2+a0abe9e363271833c90424d1444b43a67fa5858f
C#
public sealed class LanguageRegion
Inheritance
Object    LanguageRegion

Remarks

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

Constructors

LanguageRegionInitializes a new instance of the LanguageRegion class

Properties

CssClass Gets or sets the CSS class for the entire language region.
FormattingInfo Gets or sets the formatting info used to highlight the language region.
Length Gets or sets the length of the language region.
NeedsFullContext Gets or sets a value indicating whether the formatter needs the full source for context, not just the region itself.
Start Gets or sets the index in the source code of the first character of the language region.

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also