C# Класс MichaelReukauff.Protobuf.QuickInfoController

The quick info controller.
Наследование: IIntellisenseController
Показать файл Открыть проект

Открытые методы

Метод Описание
ConnectSubjectBuffer ( ITextBuffer subjectBuffer ) : void

Implement the ConnectSubjectBuffer method as empty method here.

Detach ( ITextView view ) : void

Implement the Detach method so that it removes the mouse hover event handler when the controller is detached from the text view.

DisconnectSubjectBuffer ( ITextBuffer subjectBuffer ) : void

Implement the DisconnectSubjectBuffer method as empty method here.

Приватные методы

Метод Описание
GetMousePosition ( SnapshotPoint topPosition ) : SnapshotPoint?

Get mouse position.

OnTextViewMouseHover ( object sender, MouseHoverEventArgs e ) : void

Add the mouse hover event handler that triggers the QuickInfo session.

QuickInfoController ( ITextView textView, IList subjectBuffers, QuickInfoControllerProvider provider ) : System.Collections.Generic

Initializes a new instance of the QuickInfoController class. The constructor sets the fields and adds the mouse hover event handler.

Описание методов

ConnectSubjectBuffer() публичный Метод

Implement the ConnectSubjectBuffer method as empty method here.
public ConnectSubjectBuffer ( ITextBuffer subjectBuffer ) : void
subjectBuffer ITextBuffer The text buffer.
Результат void

Detach() публичный Метод

Implement the Detach method so that it removes the mouse hover event handler when the controller is detached from the text view.
public Detach ( ITextView view ) : void
view ITextView /// The text view. ///
Результат void

DisconnectSubjectBuffer() публичный Метод

Implement the DisconnectSubjectBuffer method as empty method here.
public DisconnectSubjectBuffer ( ITextBuffer subjectBuffer ) : void
subjectBuffer ITextBuffer The text buffer.
Результат void