public void AddPackages(DnxProject project)
 {
     var runner = new AddPackagesDialogRunner ();
     runner.RunToAddPackageDependencies ();
     if (runner.PackagesToAdd.Any ()) {
         AddPackagesToProject (project, runner.PackagesToAdd.ToList ());
     }
 }
        protected override void Run()
        {
            DnxProject project = GetSelectedDnxProject ();
            if (project == null)
                return;

            var runner = new AddPackagesDialogRunner ();
            runner.RunToAddPackageDependencies ();
            if (runner.PackagesToAdd.Any ()) {
                AddPackagesToProject (project, runner.PackagesToAdd.ToList ());
            }
        }
			public override void Activate ()
			{
				var runner = new AddPackagesDialogRunner ();
				runner.Run (pattern.UnparsedPattern);
			}
Esempio n. 4
0
            public override void Activate()
            {
                var runner = new AddPackagesDialogRunner();

                runner.Run(pattern.UnparsedPattern);
            }
        void ISearchDataSource.Activate(int item)
        {
            var runner = new AddPackagesDialogRunner();

            runner.Run(searchPattern.UnparsedPattern);
        }
		void ISearchDataSource.Activate (int item)
		{
			var runner = new AddPackagesDialogRunner ();
			runner.Run (searchPattern.UnparsedPattern);
		}