다음을 통해 공유


ICompletionPresenter Interface

Definition

Represents a class that manages user interface for the completion feature. All methods are called on UI thread.

public interface class ICompletionPresenter : IDisposable
public interface ICompletionPresenter : IDisposable
type ICompletionPresenter = interface
    interface IDisposable
Public Interface ICompletionPresenter
Implements IDisposable
Implements

Remarks

Instances of this class should be created by ICompletionPresenterProvider, which is a MEF part.

Methods

Close()

Hides the completion UI

Open(CompletionPresentationViewModel)

Opens the UI and displays provided data

Open(IAsyncCompletionSession, CompletionPresentationViewModel)

Opens the UI and displays provided data

Update(CompletionPresentationViewModel)

Updates the UI with provided data

Update(IAsyncCompletionSession, CompletionPresentationViewModel)

Updates the UI with provided data

Events

CommitRequested

Notifies of user committing an item for completion

CompletionClosed

Notifies of UI closing

CompletionItemSelected

Notifies of user selecting an item. When item is selected programmatically, firing this event may result in endless loop.

FiltersChanged

Notifies of user changing the selection state of filters

Applies to