MonoDevelop.PackageManagement.PackageRestorer.Restore C# (CSharp) Method

Restore() public method

public Restore ( ) : void
return void
		public void Restore ()
		{
			Restore (ProgressMonitorStatusMessageFactory.CreateRestoringPackagesInSolutionMessage ());
		}

Same methods

PackageRestorer::Restore ( MonoDevelop.PackageManagement.ProgressMonitorStatusMessage progressMessage ) : void

Usage Example

Example #1
0
        void Restore(PackageRestorer restorer, Action afterRestore)
        {
            ProgressMonitorStatusMessage progressMessage = ProgressMonitorStatusMessageFactory.CreateRestoringPackagesBeforeUpdateMessage();

            PackageManagementBackgroundDispatcher.Dispatch(() => {
                restorer.Restore(progressMessage);
                if (!restorer.RestoreFailed)
                {
                    afterRestore();
                }
            });
        }
All Usage Examples Of MonoDevelop.PackageManagement.PackageRestorer::Restore