Пример #1
0
        public static void NuGetInstallFromConfig(this ICakeContext context, FilePath packageConfigPath, NuGetInstallSettings settings)
        {
            if (context == null)
            {
                throw new ArgumentNullException("context");
            }

            var runner = new NuGetInstaller(context.FileSystem, context.Environment, context.ProcessRunner, context.Globber, context.GetToolResolver("NuGet"));

            runner.InstallFromConfig(packageConfigPath, settings);
        }
Пример #2
0
        public void InstallFromConfig()
        {
            var tool = new NuGetInstaller(FileSystem, Environment, ProcessRunner, Globber, NuGetToolResolver);

            tool.InstallFromConfig(PackageConfigPath, Settings);
        }
Пример #3
0
        protected override void RunTool()
        {
            var tool = new NuGetInstaller(FileSystem, Environment, ProcessRunner, Tools, Resolver);

            tool.InstallFromConfig(PackageConfigPath, Settings);
        }