Ejemplo 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)
 {
 }
Ejemplo n.º 3
0
 public NuGetCachePrimer(
     INuGetPackagesArchiver nugetPackagesArchiver,
     INuGetCacheSentinel nuGetCacheSentinel,
     CliFallbackFolderPathCalculator cliFallbackFolderPathCalculator)
     : this(nugetPackagesArchiver,
            nuGetCacheSentinel,
            cliFallbackFolderPathCalculator,
            FileSystemWrapper.Default.File)
 {
 }
Ejemplo n.º 4
0
        internal NuGetCachePrimer(
            INuGetPackagesArchiver nugetPackagesArchiver,
            INuGetCacheSentinel nuGetCacheSentinel,
            CliFallbackFolderPathCalculator cliFallbackFolderPathCalculator,
            IFile file)
        {
            _nugetPackagesArchiver = nugetPackagesArchiver;

            _nuGetCacheSentinel = nuGetCacheSentinel;

            _cliFallbackFolderPathCalculator = cliFallbackFolderPathCalculator;

            _file = file;
        }
Ejemplo 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)
 {
 }