public SnippetCompletionProvider([Import(AllowDefault = true)] ISnippetInformationSourceProvider snippetInformationSource, ICoreShell coreShell) { _snippetInformationSource = snippetInformationSource; var imageService = coreShell.GetService <IImageService>(); _snippetGlyph = imageService.GetImage(ImageType.Snippet) as ImageSource; }
public PackageFunctionCompletionProvider(IServiceContainer serviceContainer) { _session = serviceContainer.GetService <IIntellisenseRSession>(); _snippetInformationSource = serviceContainer.GetService <ISnippetInformationSourceProvider>(); _packageIndex = serviceContainer.GetService <IPackageIndex>(); _functionIndex = serviceContainer.GetService <IFunctionIndex>(); var imageService = serviceContainer.GetService <IImageService>(); _functionGlyph = imageService.GetImage(ImageType.Method); _constantGlyph = imageService.GetImage(ImageType.Constant); }
public PackageFunctionCompletionProvider( ILoadedPackagesProvider loadedPackagesProvider, [Import(AllowDefault = true)] ISnippetInformationSourceProvider snippetInformationSource, IPackageIndex packageIndex, IFunctionIndex functionIndex, ICoreShell shell) { _loadedPackagesProvider = loadedPackagesProvider; _snippetInformationSource = snippetInformationSource; _shell = shell; _packageIndex = packageIndex; _functionIndex = functionIndex; }
public PackageFunctionCompletionProvider( ILoadedPackagesProvider loadedPackagesProvider, [Import(AllowDefault = true)] ISnippetInformationSourceProvider snippetInformationSource, IPackageIndex packageIndex, IFunctionIndex functionIndex, IGlyphService glyphService) { _loadedPackagesProvider = loadedPackagesProvider; _snippetInformationSource = snippetInformationSource; _packageIndex = packageIndex; _functionIndex = functionIndex; _functionGlyph = glyphService.GetGlyphThreadSafe(StandardGlyphGroup.GlyphGroupMethod, StandardGlyphItem.GlyphItemPublic); _constantGlyph = glyphService.GetGlyphThreadSafe(StandardGlyphGroup.GlyphGroupConstant, StandardGlyphItem.GlyphItemPublic); }
public PackageFunctionCompletionProvider( IIntellisenseRSession session, [Import(AllowDefault = true)] ISnippetInformationSourceProvider snippetInformationSource, IPackageIndex packageIndex, IFunctionIndex functionIndex, ICoreShell coreShell) { _session = session; _snippetInformationSource = snippetInformationSource; _packageIndex = packageIndex; _functionIndex = functionIndex; var imageService = coreShell.GetService <IImageService>(); _functionGlyph = imageService.GetImage(ImageType.Method) as ImageSource; _constantGlyph = imageService.GetImage(ImageType.Constant) as ImageSource;; }
public KeywordCompletionProvider([Import(AllowDefault = true)] ISnippetInformationSourceProvider snippetInformationSource, IGlyphService glyphService) { _snippetInformationSource = snippetInformationSource; _glyphService = glyphService; }
public SnippetCompletionProvider(IServiceContainer serviceContainer) { _snippetInformationSource = serviceContainer.GetService <ISnippetInformationSourceProvider>(); _imageService = serviceContainer.GetService <IImageService>(); _snippetGlyph = _imageService.GetImage(ImageType.Snippet); }
public KeywordCompletionProvider([Import(AllowDefault = true)] ISnippetInformationSourceProvider snippetInformationSource, ICoreShell shell) { _snippetInformationSource = snippetInformationSource; _shell = shell; }
public KeywordCompletionProvider(IServiceContainer serviceContainer) { _snippetInformationSource = serviceContainer.GetService <ISnippetInformationSourceProvider>(); _imageService = serviceContainer.GetService <IImageService>(); }
public SnippetCompletionProvider([Import(AllowDefault = true)] ISnippetInformationSourceProvider snippetInformationSource, IGlyphService glyphService) { _snippetInformationSource = snippetInformationSource; _snippetGlyph = glyphService.GetGlyphThreadSafe(StandardGlyphGroup.GlyphCSharpExpansion, StandardGlyphItem.GlyphItemPublic); }
public KeywordCompletionProvider([Import(AllowDefault = true)] ISnippetInformationSourceProvider snippetInformationSource, ICoreShell coreShell) { _snippetInformationSource = snippetInformationSource; _imageService = coreShell.GetService <IImageService>(); }