예제 #1
0
        public IIntellisensePresenter TryCreateIntellisensePresenter(IIntellisenseSession session)
        {
            IQuickInfoSession qiSession = session as IQuickInfoSession;

            if (qiSession != null)
            {
                if (qiSession.Get <RainbowToolTipContext>() != null)
                {
                    return(new RainbowToolTipPresenter(qiSession));
                }
            }
            return(null);
        }