Class CodeSnippetHeader
- Namespace
- Alternet.Syntax.CodeCompletion
- Assembly
- Alternet.Syntax.v9.dll
Represents code snippet header.
public class CodeSnippetHeader : CodeCompletionProviderItem, ICodeSnippetHeader, ICodeCompletionProviderItem, IComparable
- Inheritance
-
CodeSnippetHeader
- Implements
Constructors
- CodeSnippetHeader()
Initializes a new instance of the
CodeSnippetHeader
class with default settings.
Properties
- Author
Gets or sets a string value that specifies author of the code snippet.
- Description
Gets or sets a string value that specifies short description of the code snippet, that can help user to choose snippet from the popup window.
- SerializationInfo
Gets or sets an xml representation of this
CodeSnippetHeader
object.
- Shortcut
Gets or sets a string value that specifies shortcut of the code snippet. This shortcut is replaced by entire snippet when user presses Tab in the editor.
- Title
Gets or sets a string value that specifies the title of the code snippet. Useful to find necessary item within the snippets collection.
- Types
Specifies how the code snippet is inserted into the code.
Methods
- Assign(ICodeSnippetHeader)
Copies the contents of another
ICodeSnippetHeader
object.
- CompareTo(object)
Compares this instance to a specified object and returns an indication of their relative values.