Пример #1
0
 public NpmPackagesUpdater(
     PackageJsonFileFinder packageJsonFileFinder,
     NpmGlobalPackagesChecker npmGlobalPackagesChecker,
     MyGetPackageListFinder myGetPackageListFinder,
     ICancellationTokenProvider cancellationTokenProvider)
 {
     _packageJsonFileFinder    = packageJsonFileFinder;
     _npmGlobalPackagesChecker = npmGlobalPackagesChecker;
     _myGetPackageListFinder   = myGetPackageListFinder;
     CancellationTokenProvider = cancellationTokenProvider;
     Logger = NullLogger <NpmPackagesUpdater> .Instance;
 }
Пример #2
0
 public AiwinsNugetPackagesVersionUpdater(NuGetService nuGetService, MyGetPackageListFinder myGetPackageListFinder)
 {
     _nuGetService           = nuGetService;
     _myGetPackageListFinder = myGetPackageListFinder;
     Logger = NullLogger <AiwinsNugetPackagesVersionUpdater> .Instance;
 }