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

The label text to display on the popup.

string? Label { get; }

Property Value

string

RootFolder

The root ICodeSnippetFolder containing the code snippets to display.

ICodeSnippetFolder RootFolder { get; }

Property Value

ICodeSnippetFolder

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

Extension Methods