Example #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);
        }
Example #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);
        }
Example #3
0
 public void InstallNuget()
 {
     NugetChecker.CheckNuget();
 }
Example #4
0
 public LibraryNugetGetter(IFileNodeState nodeState)
 {
     NodeState = nodeState;
     Starter   = new DotNetProcessStarter();
     Checker   = new NugetChecker();
 }