static PackageManagementServices() { options = new PackageManagementOptions(); progressMonitorFactory = new PackageManagementProgressMonitorFactory(); backgroundPackageActionRunner = new BackgroundPackageActionRunner(progressMonitorFactory, packageManagementEvents); projectTargetFrameworkMonitor = new ProjectTargetFrameworkMonitor(projectService); packageCompatibilityHandler = new PackageCompatibilityHandler(); packageCompatibilityHandler.MonitorTargetFrameworkChanges(projectTargetFrameworkMonitor); updatedPackagesInWorkspace = new UpdatedNuGetPackagesInWorkspace(packageManagementEvents); projectOperations = new PackageManagementProjectOperations(backgroundPackageActionRunner, packageManagementEvents); workspace = new PackageManagementWorkspace(); credentialService = new PackageManagementCredentialService(); credentialService.Initialize(); PackageManagementBackgroundDispatcher.Initialize(); nuGetConfigFileChangedMonitor.MonitorFileChanges(); //analyzerPackageMonitor = new AnalyzerPackageMonitor (); }
static PackageManagementServices() { options = new PackageManagementOptions(); progressMonitorFactory = new PackageManagementProgressMonitorFactory (); backgroundPackageActionRunner = new BackgroundPackageActionRunner (progressMonitorFactory, packageManagementEvents); projectTargetFrameworkMonitor = new ProjectTargetFrameworkMonitor (projectService); packageCompatibilityHandler = new PackageCompatibilityHandler (); packageCompatibilityHandler.MonitorTargetFrameworkChanges (projectTargetFrameworkMonitor); updatedPackagesInWorkspace = new UpdatedNuGetPackagesInWorkspace (packageManagementEvents); projectOperations = new PackageManagementProjectOperations (backgroundPackageActionRunner, packageManagementEvents); workspace = new PackageManagementWorkspace (); credentialService = new PackageManagementCredentialService (); credentialService.Initialize (); PackageManagementBackgroundDispatcher.Initialize (); //analyzerPackageMonitor = new AnalyzerPackageMonitor (); }
internal static void InitializeCredentialService() { credentialService.Initialize(); }