protected override CheckForUpdatesProgressMonitor CreateProgressMonitor(
     IPackageManagementProgressMonitorFactory progressMonitorFactory,
     IPackageManagementEvents packageManagementEvents)
 {
     ProgressMonitorCreated = new TestableCheckForUpdatesProgressMonitor(progressMonitorFactory, packageManagementEvents);
     return(ProgressMonitorCreated);
 }
示例#2
0
 void CreateProgressMonitor()
 {
     progressMonitorFactory = new FakeProgressMonitorFactory();
     fakeProgressMonitor    = progressMonitorFactory.ProgressMonitor;
     packageEvents          = new PackageManagementEvents();
     progressMonitor        = new TestableCheckForUpdatesProgressMonitor(progressMonitorFactory, packageEvents);
 }