Table of Contents

Class CodeSnippetMembers

Namespace
Alternet.Syntax.CodeCompletion
Assembly
Alternet.Syntax.v9.dll

Represents collection containing list of code templates.

public class CodeSnippetMembers : CodeCompletionProvider, IList, ICollection, IReadOnlyList<ICodeCompletionProviderItem>, IReadOnlyCollection<ICodeCompletionProviderItem>, ICodeSnippetMembers, ICodeSnippetsProvider, ICodeCompletionProvider, IList<ICodeCompletionProviderItem>, ICollection<ICodeCompletionProviderItem>, IEnumerable<ICodeCompletionProviderItem>, IEnumerable, IExport, IImport
Inheritance
CodeSnippetMembers
Implements
Extension Methods

Constructors

CodeSnippetMembers()

Initializes a new instance of the CodeSnippetMembers class with default settings.

CodeSnippetMembers(ICodeSnippetMember)

Initializes a new instance of the CodeSnippetMembers class with specified parent.

Properties

ColumnCount

Returns number of the columns. In this class ColumnCount always return 1.

EditPath

Gets or sets a value indicating path to the nested code completion provider.

Images

Gets or sets the ImageList for code completion items.

this[int]

Provides an indexed access to ICodeSnippetMember objects stored in the collection.

Parent

Gets or sets a parent of the CodeSnippetMembers.

SerializationInfo

Gets or sets an xml representation of this CodeSnippetMembers object.

Methods

AddSnippetMember()

Adds a new item to the ICodeSnippetMembers collection.

ColumnVisible(int)

Indicates whether specified column is visible.

FindByShortcut(string, bool)

Gets a code snippet by its shortcut.

GetColumnText(int, int)

Returns text from specified column and snippet.

GetImageIndex(int)

Returns ICodeSnippetMember.ImageIndex from the snippet specified by index.

GetName(int)

Returns ICodeSnippetMember.Name of the snippet member specified by index.

GetParent()

Returns code completion provider owning this ICodeCompletionProvider instance.

GetText(int)

Returns an empty string.

GetXmlType()
InsertSnippetMember(int)

Inserts a new item to the specified position within the ICodeSnippetMembers collection.

OnClosePopup(object, ClosingEventArgs)

Checks for nested members and raises ClosePopup event if they are not found.

OnParentChanged()
ShouldIndent(ICodeSnippet)

Gets a boolean value indicating whether the multi-line snippet code should be indented when inserting to the edit control.