In This Article

ICodeSnippetSelectionSession Interface

Provides the base requirements for an object that represents an IntelliPrompt code snippet selection session.

public interface ICodeSnippetSelectionSession : IIntelliPromptSession, IServiceLocator

Properties

Label

Gets the label text to display on the popup.

string Label { get; }

Property Value

string:

The label text to display on the popup.

RootFolder

Gets the root ICodeSnippetFolder containing the code snippets to display.

ICodeSnippetFolder RootFolder { get; }

Property Value

ICodeSnippetFolder:

The root ICodeSnippetFolder containing the code snippets to display.

Methods

Open(IEditorView)

Opens the session, attaching to the specified IEditorView.

void Open(IEditorView view)
Parameter Type Description
view IEditorView

The IEditorView in which the session is opened.

Inherited Members