public QuickInfoCommandHandlerAndSourceProvider(
     //IInlineRenameService inlineRenameService,
     IQuickInfoProviderCoordinatorFactory providerCoordinatorFactory,
     [ImportMany] IEnumerable <Lazy <IAsynchronousOperationListener, FeatureMetadata> > asyncListeners,
     [ImportMany] IEnumerable <Lazy <IIntelliSensePresenter <IQuickInfoPresenterSession, IQuickInfoSession>, OrderableMetadata> > presenters)
     : this(//inlineRenameService,
         ExtensionOrderer.Order(presenters).Select(lazy => lazy.Value).FirstOrDefault(),
         providerCoordinatorFactory, asyncListeners)
 {
 }
 public Controller(
     ITextView textView,
     ITextBuffer subjectBuffer,
     IIntelliSensePresenter <IQuickInfoPresenterSession, IQuickInfoSession> presenter,
     IAsynchronousOperationListener asyncListener,
     IDocumentProvider documentProvider,
     IQuickInfoProviderCoordinatorFactory providerCoordinatorFactory)
     : base(textView, subjectBuffer, presenter, asyncListener, documentProvider, "QuickInfo")
 {
     _providerCoordinatorFactory = providerCoordinatorFactory;
 }
 // For testing purposes.
 public QuickInfoCommandHandlerAndSourceProvider(
     //IInlineRenameService inlineRenameService,
     IIntelliSensePresenter <IQuickInfoPresenterSession, IQuickInfoSession> presenter,
     IQuickInfoProviderCoordinatorFactory providerCoordinatorFactory,
     [ImportMany] IEnumerable <Lazy <IAsynchronousOperationListener, FeatureMetadata> > asyncListeners)
 {
     //_inlineRenameService = inlineRenameService;
     _providerCoordinatorFactory = providerCoordinatorFactory;
     _asyncListeners             = asyncListeners;
     _presenter = presenter;
 }
        internal static Controller GetInstance(
            CommandArgs args,
            IIntelliSensePresenter <IQuickInfoPresenterSession, IQuickInfoSession> presenter,
            IAsynchronousOperationListener asyncListener,
            IQuickInfoProviderCoordinatorFactory providerCoordinatorFactory)
        {
            var textView      = args.TextView;
            var subjectBuffer = args.SubjectBuffer;

            return(textView.GetOrCreatePerSubjectBufferProperty(subjectBuffer, s_quickInfoPropertyKey,
                                                                (v, b) => new Controller(v, b,
                                                                                         presenter,
                                                                                         asyncListener,
                                                                                         new DocumentProvider(),
                                                                                         providerCoordinatorFactory)));
        }