Exemplo n.º 1
0
        public NugetFolderCache(Solution solution, string folder)
        {
            _solution   = solution;
            _folder     = folder;
            _fileSystem = new FileSystem();

            reset();
        }
Exemplo n.º 2
0
        public NugetFolderCache(Solution solution, string folder)
        {
            _solution = solution;
            _folder = folder;
            _fileSystem = new FileSystem();

            reset();
        }
Exemplo n.º 3
0
        public FileSystemNugetFeed(string directory, NugetStability stability)
        {
            _directory = directory.ToCanonicalPath();

            Path.GetInvalidPathChars().Each(x =>
            {
                if (_directory.Contains(x))
                {
                    throw new InvalidOperationException("Invalid character in path: {0} ({1})".ToFormat(x, (int)x));
                }
            });

            _stability  = stability;
            _fileSystem = new FileSystem();
        }
Exemplo n.º 4
0
        public FileSystemNugetFeed(string directory, NugetStability stability)
        {
            _directory = directory.ToCanonicalPath();

            Path.GetInvalidPathChars().Each(x =>
            {
                if (_directory.Contains(x))
                {
                    throw new InvalidOperationException("Invalid character in path: {0} ({1})".ToFormat(x, (int)x));
                }
            });

            _stability = stability;
            _fileSystem = new FileSystem();
        }
Exemplo n.º 5
0
 public void UseFileSystem(IFileSystem fileSystem)
 {
     _fileSystem = fileSystem;
 }
Exemplo n.º 6
0
 public void UseFileSystem(IFileSystem fileSystem)
 {
     _fileSystem = fileSystem;
 }
Exemplo n.º 7
0
 public FileSystemNugetFeed(string directory)
 {
     _directory = directory;
     _fileSystem = new FileSystem();
 }