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)); }
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)); }
public bool IsIntellisenseEnabled(ISolution solution, IContextBoundSettingsStore contextBoundSettingsStore) { IParameterInfoContextFactory factory = _csParameterInfoContextFactory.Value; return(factory != null && factory.IsIntellisenseEnabled(solution, contextBoundSettingsStore)); }