C# Class ICSharpCode.PackageManagement.ProcessPackageAction

Show file Open project: icsharpcode/SharpDevelop Class Usage Examples

Public Methods

Method Description
Execute ( ) : void
HasPackageScriptsToRun ( ) : bool
ProcessPackageAction ( IPackageManagementProject project, IPackageManagementEvents packageManagementEvents ) : System

Protected Methods

Method Description
BeforeExecute ( ) : void
CreateOpenPackageReadMeMonitor ( string packageId ) : IOpenPackageReadMeMonitor
CreateRunPackageScriptsAction ( IPackageScriptRunner scriptRunner, IPackageManagementProject project ) : ICSharpCode.PackageManagement.Scripting.RunPackageScriptsAction
ExecuteCore ( ) : void
FindPackage ( ) : IPackage
OnParentPackageInstalled ( ) : void
OnParentPackageUninstalled ( ) : void
PackageIdExistsInProject ( ) : bool

Private Methods

Method Description
ConfigureProjectLogger ( ) : void
CreateRunPackageScriptsAction ( ) : ICSharpCode.PackageManagement.Scripting.RunPackageScriptsAction
ExecuteWithScriptRunner ( ) : void
GetLoggerIfMissing ( ) : void
GetPackageId ( ) : string
GetPackageIfMissing ( ) : void
RunWithExceptionReporting ( System.Action action ) : void
ThrowPackageNotFoundError ( string packageId ) : void

Method Details

BeforeExecute() protected method

protected BeforeExecute ( ) : void
return void

CreateOpenPackageReadMeMonitor() protected method

protected CreateOpenPackageReadMeMonitor ( string packageId ) : IOpenPackageReadMeMonitor
packageId string
return IOpenPackageReadMeMonitor

CreateRunPackageScriptsAction() protected method

protected CreateRunPackageScriptsAction ( IPackageScriptRunner scriptRunner, IPackageManagementProject project ) : ICSharpCode.PackageManagement.Scripting.RunPackageScriptsAction
scriptRunner IPackageScriptRunner
project IPackageManagementProject
return ICSharpCode.PackageManagement.Scripting.RunPackageScriptsAction

Execute() public method

public Execute ( ) : void
return void

ExecuteCore() protected method

protected ExecuteCore ( ) : void
return void

FindPackage() protected method

protected FindPackage ( ) : IPackage
return IPackage

HasPackageScriptsToRun() public method

public HasPackageScriptsToRun ( ) : bool
return bool

OnParentPackageInstalled() protected method

protected OnParentPackageInstalled ( ) : void
return void

OnParentPackageUninstalled() protected method

protected OnParentPackageUninstalled ( ) : void
return void

PackageIdExistsInProject() protected method

protected PackageIdExistsInProject ( ) : bool
return bool

ProcessPackageAction() public method

public ProcessPackageAction ( IPackageManagementProject project, IPackageManagementEvents packageManagementEvents ) : System
project IPackageManagementProject
packageManagementEvents IPackageManagementEvents
return System