public ToolTipContentCreatorContext(IImageManager imageManager, IDotNetImageManager dotNetImageManager, ILanguage language, ICodeToolTipSettings codeToolTipSettings) { this.imageManager = imageManager; this.dotNetImageManager = dotNetImageManager; this.language = language; this.codeToolTipSettings = codeToolTipSettings; }
CodeToolTipManager(IImageManager imageManager, IDotNetImageManager dotNetImageManager, ICodeToolTipSettings codeToolTipSettings, [ImportMany] IEnumerable<Lazy<IToolTipContentCreator, IToolTipContentCreatorMetadata>> mefCreators) { this.imageManager = imageManager; this.dotNetImageManager = dotNetImageManager; this.codeToolTipSettings = codeToolTipSettings; this.creators = mefCreators.OrderBy(a => a.Metadata.Order).ToArray(); }
public ToolTipProviderContext(IDotNetImageService dotNetImageService, IDecompiler decompiler, ICodeToolTipSettings codeToolTipSettings, IDocumentViewer documentViewer, IClassificationFormatMap classificationFormatMap, IThemeClassificationTypeService themeClassificationTypeService) { if (dotNetImageService == null) throw new ArgumentNullException(nameof(dotNetImageService)); if (decompiler == null) throw new ArgumentNullException(nameof(decompiler)); if (codeToolTipSettings == null) throw new ArgumentNullException(nameof(codeToolTipSettings)); if (documentViewer == null) throw new ArgumentNullException(nameof(documentViewer)); if (classificationFormatMap == null) throw new ArgumentNullException(nameof(classificationFormatMap)); if (themeClassificationTypeService == null) throw new ArgumentNullException(nameof(themeClassificationTypeService)); DocumentViewer = documentViewer; this.dotNetImageService = dotNetImageService; Decompiler = decompiler; this.codeToolTipSettings = codeToolTipSettings; this.classificationFormatMap = classificationFormatMap; this.themeClassificationTypeService = themeClassificationTypeService; }
DocumentViewerToolTipServiceProvider(IImageManager imageManager, IDotNetImageManager dotNetImageManager, ICodeToolTipSettings codeToolTipSettings, [ImportMany] IEnumerable <Lazy <IToolTipProvider, IToolTipProviderMetadata> > toolTipProviders) { this.imageManager = imageManager; this.dotNetImageManager = dotNetImageManager; this.codeToolTipSettings = codeToolTipSettings; this.toolTipProviders = toolTipProviders.OrderBy(a => a.Metadata.Order).ToArray(); }
public ToolTipProviderContext(IImageManager imageManager, IDotNetImageManager dotNetImageManager, IDecompiler decompiler, ICodeToolTipSettings codeToolTipSettings, IDocumentViewer documentViewer, IClassificationFormatMap classificationFormatMap, IThemeClassificationTypeService themeClassificationTypeService) { if (imageManager == null) { throw new ArgumentNullException(nameof(imageManager)); } if (dotNetImageManager == null) { throw new ArgumentNullException(nameof(dotNetImageManager)); } if (decompiler == null) { throw new ArgumentNullException(nameof(decompiler)); } if (codeToolTipSettings == null) { throw new ArgumentNullException(nameof(codeToolTipSettings)); } if (documentViewer == null) { throw new ArgumentNullException(nameof(documentViewer)); } if (classificationFormatMap == null) { throw new ArgumentNullException(nameof(classificationFormatMap)); } if (themeClassificationTypeService == null) { throw new ArgumentNullException(nameof(themeClassificationTypeService)); } this.DocumentViewer = documentViewer; this.imageManager = imageManager; this.dotNetImageManager = dotNetImageManager; this.Decompiler = decompiler; this.codeToolTipSettings = codeToolTipSettings; this.classificationFormatMap = classificationFormatMap; this.themeClassificationTypeService = themeClassificationTypeService; }
public ToolTipProviderContext(IDotNetImageService dotNetImageService, IDecompiler decompiler, ICodeToolTipSettings codeToolTipSettings, IDocumentViewer documentViewer, IClassificationFormatMap classificationFormatMap, IThemeClassificationTypeService themeClassificationTypeService, IClassificationTypeRegistryService classificationTypeRegistryService) { DocumentViewer = documentViewer ?? throw new ArgumentNullException(nameof(documentViewer)); this.dotNetImageService = dotNetImageService ?? throw new ArgumentNullException(nameof(dotNetImageService)); Decompiler = decompiler ?? throw new ArgumentNullException(nameof(decompiler)); this.codeToolTipSettings = codeToolTipSettings ?? throw new ArgumentNullException(nameof(codeToolTipSettings)); this.classificationFormatMap = classificationFormatMap ?? throw new ArgumentNullException(nameof(classificationFormatMap)); this.themeClassificationTypeService = themeClassificationTypeService ?? throw new ArgumentNullException(nameof(themeClassificationTypeService)); this.classificationTypeRegistryService = classificationTypeRegistryService ?? throw new ArgumentNullException(nameof(classificationTypeRegistryService)); }
public DocumentViewerToolTipService(IImageManager imageManager, IDotNetImageManager dotNetImageManager, ICodeToolTipSettings codeToolTipSettings, Lazy <IToolTipProvider, IToolTipProviderMetadata>[] toolTipProviders, IDocumentViewer documentViewer) { if (imageManager == null) { throw new ArgumentNullException(nameof(imageManager)); } if (dotNetImageManager == null) { throw new ArgumentNullException(nameof(dotNetImageManager)); } if (codeToolTipSettings == null) { throw new ArgumentNullException(nameof(codeToolTipSettings)); } if (toolTipProviders == null) { throw new ArgumentNullException(nameof(toolTipProviders)); } if (documentViewer == null) { throw new ArgumentNullException(nameof(documentViewer)); } this.imageManager = imageManager; this.dotNetImageManager = dotNetImageManager; this.codeToolTipSettings = codeToolTipSettings; this.toolTipProviders = toolTipProviders; this.documentViewer = documentViewer; documentViewer.TextView.Closed += TextView_Closed; documentViewer.TextView.MouseHover += TextView_MouseHover; }
CodeToolTipManager(IImageManager imageManager, IDotNetImageManager dotNetImageManager, ICodeToolTipSettings codeToolTipSettings, [ImportMany] IEnumerable <Lazy <IToolTipContentCreator, IToolTipContentCreatorMetadata> > mefCreators) { this.imageManager = imageManager; this.dotNetImageManager = dotNetImageManager; this.codeToolTipSettings = codeToolTipSettings; this.creators = mefCreators.OrderBy(a => a.Metadata.Order).ToArray(); }
public ToolTipProviderContext(IImageManager imageManager, IDotNetImageManager dotNetImageManager, ILanguage language, ICodeToolTipSettings codeToolTipSettings, IDocumentViewer documentViewer) { this.DocumentViewer = documentViewer; this.imageManager = imageManager; this.dotNetImageManager = dotNetImageManager; this.Language = language; this.codeToolTipSettings = codeToolTipSettings; }
public ToolTipProviderContext(IImageManager imageManager, IDotNetImageManager dotNetImageManager, IDecompiler decompiler, ICodeToolTipSettings codeToolTipSettings, IDocumentViewer documentViewer) { this.DocumentViewer = documentViewer; this.imageManager = imageManager; this.dotNetImageManager = dotNetImageManager; this.Decompiler = decompiler; this.codeToolTipSettings = codeToolTipSettings; }
public DocumentViewerToolTipService(IDotNetImageService dotNetImageService, ICodeToolTipSettings codeToolTipSettings, Lazy<IDocumentViewerToolTipProvider, IDocumentViewerToolTipProviderMetadata>[] documentViewerToolTipProviders, IDocumentViewer documentViewer, IQuickInfoBroker quickInfoBroker, IClassificationFormatMap classificationFormatMap, IThemeClassificationTypeService themeClassificationTypeService, IDecompilerService decompilerService) { if (dotNetImageService == null) throw new ArgumentNullException(nameof(dotNetImageService)); if (codeToolTipSettings == null) throw new ArgumentNullException(nameof(codeToolTipSettings)); if (documentViewerToolTipProviders == null) throw new ArgumentNullException(nameof(documentViewerToolTipProviders)); if (documentViewer == null) throw new ArgumentNullException(nameof(documentViewer)); if (quickInfoBroker == null) throw new ArgumentNullException(nameof(quickInfoBroker)); if (classificationFormatMap == null) throw new ArgumentNullException(nameof(classificationFormatMap)); if (themeClassificationTypeService == null) throw new ArgumentNullException(nameof(themeClassificationTypeService)); if (decompilerService == null) throw new ArgumentNullException(nameof(decompilerService)); this.dotNetImageService = dotNetImageService; this.codeToolTipSettings = codeToolTipSettings; this.documentViewerToolTipProviders = documentViewerToolTipProviders; this.documentViewer = documentViewer; this.quickInfoBroker = quickInfoBroker; this.classificationFormatMap = classificationFormatMap; this.themeClassificationTypeService = themeClassificationTypeService; this.decompilerService = decompilerService; }
DocumentViewerToolTipServiceProvider(IDotNetImageService dotNetImageService, ICodeToolTipSettings codeToolTipSettings, IQuickInfoBroker quickInfoBroker, IClassificationFormatMapService classificationFormatMapService, IThemeClassificationTypeService themeClassificationTypeService, IDecompilerService decompilerService, [ImportMany] IEnumerable<Lazy<IDocumentViewerToolTipProvider, IDocumentViewerToolTipProviderMetadata>> documentViewerToolTipProviders) { this.dotNetImageService = dotNetImageService; this.codeToolTipSettings = codeToolTipSettings; this.quickInfoBroker = quickInfoBroker; this.classificationFormatMapService = classificationFormatMapService; this.themeClassificationTypeService = themeClassificationTypeService; this.decompilerService = decompilerService; this.documentViewerToolTipProviders = documentViewerToolTipProviders.OrderBy(a => a.Metadata.Order).ToArray(); }