Esempio n. 1
0
 public FirstTimeUseNoticeSentinel(CliFallbackFolderPathCalculator cliFallbackFolderPathCalculator) :
     this(
         cliFallbackFolderPathCalculator.DotnetUserProfileFolderPath,
         FileSystemWrapper.Default.File,
         FileSystemWrapper.Default.Directory)
 {
 }
 public UserLevelCacheWriter(CliFallbackFolderPathCalculator cliFallbackFolderPathCalculator) :
     this(
         cliFallbackFolderPathCalculator.DotnetUserProfileFolderPath,
         FileSystemWrapper.Default.File,
         FileSystemWrapper.Default.Directory)
 {
 }
Esempio n. 3
0
 public NuGetCachePrimer(
     INuGetPackagesArchiver nugetPackagesArchiver,
     INuGetCacheSentinel nuGetCacheSentinel,
     CliFallbackFolderPathCalculator cliFallbackFolderPathCalculator)
     : this(nugetPackagesArchiver,
            nuGetCacheSentinel,
            cliFallbackFolderPathCalculator,
            FileSystemWrapper.Default.File)
 {
 }
Esempio n. 4
0
        internal NuGetCachePrimer(
            INuGetPackagesArchiver nugetPackagesArchiver,
            INuGetCacheSentinel nuGetCacheSentinel,
            CliFallbackFolderPathCalculator cliFallbackFolderPathCalculator,
            IFile file)
        {
            _nugetPackagesArchiver = nugetPackagesArchiver;

            _nuGetCacheSentinel = nuGetCacheSentinel;

            _cliFallbackFolderPathCalculator = cliFallbackFolderPathCalculator;

            _file = file;
        }
Esempio n. 5
0
 public NuGetConfig(CliFallbackFolderPathCalculator cliFallbackFolderPathCalculator)
 {
     _settings = new Settings(cliFallbackFolderPathCalculator.NuGetUserSettingsDirectory);
 }
 public NuGetCacheSentinel(CliFallbackFolderPathCalculator cliFallbackFolderPathCalculator)
     : this(cliFallbackFolderPathCalculator.CliFallbackFolderPath,
          FileSystemWrapper.Default.File,
          FileSystemWrapper.Default.Directory)
 {
 }