BlockCommentFormat Class |
Namespace: Tvl.VisualStudio.Text.Commenter
The BlockCommentFormat type exposes the following members.
Name | Description | |
---|---|---|
BlockCommentFormat(String, String) |
Initializes a new instance of the BlockCommentFormat class with the specified prefix and
suffix. The AllowNesting property is initialized to .
| |
BlockCommentFormat(String, String, Boolean) |
Initializes a new instance of the BlockCommentFormat class with the specified prefix, suffix,
and value indicating whether block comments in this format may appear nested in the source code.
|
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
AllowNesting |
Gets a value indicating whether block comments in this format may be nested.
| |
EndText |
Gets the suffix for a block comment in this format.
| |
StartText |
Gets the prefix for a block comment in this format.
|
For the purpose of this implementation, a block comment is a comment that extends from a predefined starting prefix to a predefined ending suffix. The AllowNesting property specifies whether the language allows block comments in this format to be nested.
Note |
---|
The exact semantics of a block comment are not dictated by this data structure. The implementation of ICommenter provided by an extension for a particular content type is responsible for the behavior of comments. |