Esempio n. 1
0
 public SourceExplorerHierarchyControllerFactory(
     ISynchronizationContextProvider synchronizationContextProvider,
     IFileSystemTreeSource fileSystemTreeSource,
     IVisualStudioPackageProvider visualStudioPackageProvider,
     IVsGlyphService vsGlyphService,
     IImageSourceFactory imageSourceFactory,
     IOpenDocumentHelper openDocumentHelper,
     IFileSystem fileSystem,
     IClipboard clipboard,
     IWindowsExplorer windowsExplorer,
     IDispatchThreadServerRequestExecutor dispatchThreadServerRequestExecutor,
     IEventBus eventBus,
     IGlobalSettingsProvider globalSettingsProvider,
     IDelayedOperationExecutor delayedOperationExecutor,
     IDispatchThread dispatchThread,
     IShowServerInfoService showServerInfoService)
 {
     _synchronizationContextProvider = synchronizationContextProvider;
     _fileSystemTreeSource           = fileSystemTreeSource;
     _visualStudioPackageProvider    = visualStudioPackageProvider;
     _vsGlyphService     = vsGlyphService;
     _imageSourceFactory = imageSourceFactory;
     _openDocumentHelper = openDocumentHelper;
     _fileSystem         = fileSystem;
     _clipboard          = clipboard;
     _windowsExplorer    = windowsExplorer;
     _dispatchThreadServerRequestExecutor = dispatchThreadServerRequestExecutor;
     _eventBus = eventBus;
     _globalSettingsProvider   = globalSettingsProvider;
     _delayedOperationExecutor = delayedOperationExecutor;
     _dispatchThread           = dispatchThread;
     _showServerInfoService    = showServerInfoService;
 }
 public DispatchThreadDelayedOperationExecutor(
     IDelayedOperationExecutor delayedOperationExecutor,
     ISynchronizationContextProvider synchronizationContextProvider)
 {
     _delayedOperationExecutor       = delayedOperationExecutor;
     _synchronizationContextProvider = synchronizationContextProvider;
 }
Esempio n. 3
0
 public DispatchThreadServerRequestExecutor(ITypedRequestProcessProxy typedRequestProcessProxy,
                                            IDelayedOperationExecutor delayedOperationExecutor,
                                            ISynchronizationContextProvider synchronizationContextProvider)
 {
     _typedRequestProcessProxy                    = typedRequestProcessProxy;
     _delayedOperationExecutor                    = delayedOperationExecutor;
     _synchronizationContextProvider              = synchronizationContextProvider;
     _typedRequestProcessProxy.ProcessStarted    += TypedRequestProcessProxyOnProcessStarted;
     _typedRequestProcessProxy.ProcessFatalError += TypedRequestProcessProxyOnProcessFatalError;
 }
Esempio n. 4
0
 public UpdateChecker(
     IPackageVersionProvider packageVersionProvider,
     IUpdateInfoProvider updateInfoProvider,
     IDelayedOperationExecutor delayedOperationExecutor,
     [ImportMany] IEnumerable <IUpdateNotificationListener> updateNotificationListeners)
 {
     _packageVersionProvider      = packageVersionProvider;
     _updateInfoProvider          = updateInfoProvider;
     _delayedOperationExecutor    = delayedOperationExecutor;
     _updateNotificationListeners = updateNotificationListeners;
 }
Esempio n. 5
0
 public SourceExplorerHierarchyController(
     ISynchronizationContextProvider synchronizationContextProvider,
     IFileSystemTreeSource fileSystemTreeSource,
     IVisualStudioPackageProvider visualStudioPackageProvider,
     IVsGlyphService vsGlyphService,
     IImageSourceFactory imageSourceFactory,
     IOpenDocumentHelper openDocumentHelper,
     IFileSystem fileSystem,
     IClipboard clipboard,
     IWindowsExplorer windowsExplorer,
     IDispatchThreadServerRequestExecutor dispatchThreadServerRequestExecutor,
     ITypedRequestProcessProxy typedRequestProcessProxy,
     IDispatchThreadEventBus eventBus,
     IGlobalSettingsProvider globalSettingsProvider,
     IDelayedOperationExecutor delayedOperationExecutor,
     IDispatchThread dispatchThread,
     IShowServerInfoService showServerInfoService)
 {
     _synchronizationContextProvider = synchronizationContextProvider;
     _fileSystemTreeSource           = fileSystemTreeSource;
     _visualStudioPackageProvider    = visualStudioPackageProvider;
     _imageSourceFactory             = imageSourceFactory;
     _openDocumentHelper             = openDocumentHelper;
     _fileSystem      = fileSystem;
     _clipboard       = clipboard;
     _windowsExplorer = windowsExplorer;
     _dispatchThreadServerRequestExecutor = dispatchThreadServerRequestExecutor;
     _eventBus = eventBus;
     _globalSettingsProvider   = globalSettingsProvider;
     _delayedOperationExecutor = delayedOperationExecutor;
     _showServerInfoService    = showServerInfoService;
     _nodeTemplateFactory      = new NodeTemplateFactory(vsGlyphService, imageSourceFactory);
     _nodeViewModelLoader      = new NodeViewModelLoader(typedRequestProcessProxy);
     _hierarchy = new VsHierarchyAggregate(
         visualStudioPackageProvider.Package.ServiceProvider,
         vsGlyphService,
         _imageSourceFactory,
         _nodeTemplateFactory,
         _nodeViewModelLoader,
         dispatchThread);
 }
 public FileSystemTreeSource(ITypedRequestProcessProxy proxy, IDelayedOperationExecutor delayedOperationExecutor)
 {
     _proxy = proxy;
     _delayedOperationExecutor = delayedOperationExecutor;
     _proxy.EventReceived     += ProxyOnEventReceived;
 }