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