1
//***************************************************************************
3 // Copyright (c) Microsoft Corporation. All rights reserved.
4 // This code is licensed under the Visual Studio SDK license terms.
5 // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
6 // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
7 // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
8 // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
10 //***************************************************************************
12 using System
.Collections
.Generic
;
13 using System
.ComponentModel
.Composition
;
14 using Microsoft
.VisualStudio
.Language
.Intellisense
;
15 using Microsoft
.VisualStudio
.Text
;
16 using Microsoft
.VisualStudio
.Text
.Editor
;
17 using Microsoft
.VisualStudio
.Utilities
;
19 namespace VSLTK
.Intellisense
21 #region IIntellisenseControllerProvider
23 [Export(typeof(IIntellisenseControllerProvider
))]
24 [Name("Template QuickInfo Controller")]
26 internal class TemplateQuickInfoControllerProvider
: IIntellisenseControllerProvider
31 internal IQuickInfoBroker QuickInfoBroker { get; set; }
35 #region IIntellisenseControllerFactory Members
37 public IIntellisenseController
TryCreateIntellisenseController(ITextView textView
,
38 IList
<ITextBuffer
> subjectBuffers
)
40 return new TemplateQuickInfoController(textView
, subjectBuffers
, this);