Example #1
0
        public IParameterInfoContext CreateContext(ISolution solution, IDocument document, int caretOffset, int expectedLParenthOffset, char invocationChar,
                                                   IContextBoundSettingsStore contextBoundSettingsStore)
        {
            IParameterInfoContextFactory factory = _csParameterInfoContextFactory.Value;
            IParameterInfoContext        context = factory != null
                                ? factory.CreateContext(solution, document, caretOffset, expectedLParenthOffset, invocationChar, contextBoundSettingsStore)
                                : null;

            return(Enhance(context, solution, contextBoundSettingsStore));
        }
Example #2
0
        public bool ShouldPopup(IDocument document, int caretOffset, char c, ISolution solution, IContextBoundSettingsStore contextBoundSettingsStore)
        {
            IParameterInfoContextFactory factory = _csParameterInfoContextFactory.Value;

            return(factory != null && factory.ShouldPopup(document, caretOffset, c, solution, contextBoundSettingsStore));
        }
Example #3
0
        public bool IsIntellisenseEnabled(ISolution solution, IContextBoundSettingsStore contextBoundSettingsStore)
        {
            IParameterInfoContextFactory factory = _csParameterInfoContextFactory.Value;

            return(factory != null && factory.IsIntellisenseEnabled(solution, contextBoundSettingsStore));
        }