In This Article

XmlCompletionSession Class

Represents an IntelliPrompt completion session.

public class XmlCompletionSession : CompletionSession, ICompletionSession, IIntelliPromptSession, IServiceLocator, IEditorDocumentTextChangeEventSink, IEditorViewKeyInputEventSink, IEditorViewPointerInputEventSink, IEditorViewSelectionChangeEventSink, IEditorViewTextInputEventSink
Inheritance:
object IntelliPromptSessionBase CompletionSession object
Implements:
ICompletionSession IIntelliPromptSession IServiceLocator IEditorDocumentTextChangeEventSink IEditorViewKeyInputEventSink IEditorViewPointerInputEventSink IEditorViewSelectionChangeEventSink IEditorViewTextInputEventSink

Constructors

XmlCompletionSession()

Initializes an instance of the class.

public XmlCompletionSession()

Methods

OnCommitted(EventArgs)

Raises the Committed event.

protected override void OnCommitted(EventArgs e)
Parameter Type Description
e EventArgs

An EventArgs that contains the event data.

OnViewTextInput(IEditorView, TextCompositionEventArgs)

Occurs before text is input to the specified IEditorView.

protected override void OnViewTextInput(IEditorView view, TextCompositionEventArgs e)
Parameter Type Description
view IEditorView

The IEditorView that received the event.

e TextCompositionEventArgs

The TextCompositionEventArgs that contains the event data.

Inherited Members