Inheritance: IIntellisenseControllerProvider
示例#1
0
 /// <summary>
 ///   Initializes a new instance of the <see cref = "QuickInfoController" /> class.
 /// </summary>
 /// <param name = "textView">The text view.</param>
 /// <param name = "subjectBuffers">The subject buffers.</param>
 /// <param name = "componentContext">The component context.</param>
 internal QuickInfoController(ITextView textView,
                              IList <ITextBuffer> subjectBuffers,
                              QuickInfoControllerProvider componentContext)
 {
     _TextView             = textView;
     _SubjectBuffers       = subjectBuffers;
     _ComponentContext     = componentContext;
     _TextView.MouseHover += OnTextViewMouseHover;
 }
 /// <summary>
 ///   Initializes a new instance of the <see cref = "QuickInfoController" /> class.
 /// </summary>
 /// <param name = "textView">The text view.</param>
 /// <param name = "subjectBuffers">The subject buffers.</param>
 /// <param name = "componentContext">The component context.</param>
 internal QuickInfoController( ITextView textView,
     IList<ITextBuffer> subjectBuffers,
     QuickInfoControllerProvider componentContext)
 {
     _TextView = textView;
     _SubjectBuffers = subjectBuffers;
     _ComponentContext = componentContext;
     _TextView.MouseHover += OnTextViewMouseHover;
 }