Exemplo n.º 1
0
        public InstallerNugetPackageRetriever(string destinationPath)
        {
            if (!String.IsNullOrEmpty(destinationPath))
            {
                DestinationPath = destinationPath;
            }
            else
            {
                DestinationPath = Environment.CurrentDirectory;
            }

            NugetSourcePath = "https://www.myget.org/F/softwaremonkeys/";
            NugetChecker    = new NugetChecker();
            NugetExecutor   = new NugetExecutor();
            Versioner       = new NugetVersioner(NugetSourcePath);
        }
Exemplo n.º 2
0
        public InstallerNugetPackageRetriever(string nugetSourcePath, string destinationPath)
        {
            if (!String.IsNullOrEmpty(destinationPath))
            {
                DestinationPath = destinationPath;
            }
            else
            {
                DestinationPath = Environment.CurrentDirectory;
            }

            if (!String.IsNullOrEmpty(nugetSourcePath))
            {
                NugetSourcePath = nugetSourcePath;
            }

            NugetChecker  = new NugetChecker();
            NugetExecutor = new NugetExecutor();
            Versioner     = new NugetVersioner(nugetSourcePath);
        }
Exemplo n.º 3
0
 public void InstallNuget()
 {
     NugetChecker.CheckNuget();
 }
Exemplo n.º 4
0
 public LibraryNugetGetter(IFileNodeState nodeState)
 {
     NodeState = nodeState;
     Starter   = new DotNetProcessStarter();
     Checker   = new NugetChecker();
 }