public IIntellisensePresenter TryCreateIntellisensePresenter(IIntellisenseSession session) { IQuickInfoSession qiSession = session as IQuickInfoSession; if (qiSession != null) { if (qiSession.Get <RainbowToolTipContext>() != null) { return(new RainbowToolTipPresenter(qiSession)); } } return(null); }