示例#1
0
        public NpmPackagesUpdater(PackageJsonFileFinder packageJsonFileFinder, NpmGlobalPackagesChecker npmGlobalPackagesChecker)
        {
            _packageJsonFileFinder    = packageJsonFileFinder;
            _npmGlobalPackagesChecker = npmGlobalPackagesChecker;

            Logger = NullLogger <NpmPackagesUpdater> .Instance;
        }
示例#2
0
 public NpmPackagesUpdater(
     PackageJsonFileFinder packageJsonFileFinder,
     NpmGlobalPackagesChecker npmGlobalPackagesChecker,
     ICancellationTokenProvider cancellationTokenProvider)
 {
     _packageJsonFileFinder    = packageJsonFileFinder;
     _npmGlobalPackagesChecker = npmGlobalPackagesChecker;
     CancellationTokenProvider = cancellationTokenProvider;
     Logger = NullLogger <NpmPackagesUpdater> .Instance;
 }
示例#3
0
 public NpmPackagesUpdater(
     PackageJsonFileFinder packageJsonFileFinder,
     NpmGlobalPackagesChecker npmGlobalPackagesChecker,
     ICancellationTokenProvider cancellationTokenProvider,
     CliHttpClientFactory cliHttpClientFactory)
 {
     _packageJsonFileFinder    = packageJsonFileFinder;
     _npmGlobalPackagesChecker = npmGlobalPackagesChecker;
     CancellationTokenProvider = cancellationTokenProvider;
     _cliHttpClientFactory     = cliHttpClientFactory;
     Logger = NullLogger <NpmPackagesUpdater> .Instance;
 }
示例#4
0
        public NpmPackagesUpdater(PackageJsonFileFinder packageJsonFileFinder)
        {
            _packageJsonFileFinder = packageJsonFileFinder;

            Logger = NullLogger <NpmPackagesUpdater> .Instance;
        }
 public NpmGlobalPackagesChecker(PackageJsonFileFinder packageJsonFileFinder)
 {
     Logger = NullLogger <NpmGlobalPackagesChecker> .Instance;
 }