C# Class NuGet.PowerShell.Commands.ProcessPackageBaseCommand

This class acts as the base class for InstallPackage, UninstallPackage and UpdatePackage commands.
Inheritance: NuGetBaseCommand
Afficher le fichier Open project: themotleyfool/NuGet

Private Properties

Свойство Type Description
CollapseNodes void
GetProjectManager Project>.Tuple
GetProjectManager Project>.Tuple
OnPackageInstalled void
OnPackageInstalling void
OnPackageReferenceAdded void
OnPackageReferenceRemoving void
OpenReadMeFile void
PrepareOpenReadMeFile void
SaveExpandedNodes void

Méthodes protégées

Méthode Description
AddToolsFolderToEnvironmentPath ( string installPath ) : void
BeginProcessing ( ) : void
EndProcessing ( ) : void
ExecuteScript ( string rootPath, string scriptFileName, IPackage package, FrameworkName targetFramework, Project project ) : void
ProcessPackageBaseCommand ( ISolutionManager solutionManager, IVsPackageManagerFactory packageManagerFactory, IHttpClientEvents httpClientEvents, IVsCommonOperations vsCommonOperations ) : System
RegisterProjectEvents ( Project project ) : IProjectManager
StartOperation ( string operation ) : IDisposable
WriteDisclaimerText ( IPackageMetadata package ) : void

Private Methods

Méthode Description
CollapseNodes ( ) : void
GetProjectManager ( ) : Project>.Tuple
GetProjectManager ( Project project ) : Project>.Tuple
OnPackageInstalled ( object sender, NuGet.VisualStudio.PackageOperationEventArgs e ) : void
OnPackageInstalling ( object sender, NuGet.VisualStudio.PackageOperationEventArgs e ) : void
OnPackageReferenceAdded ( object sender, NuGet.VisualStudio.PackageOperationEventArgs e ) : void
OnPackageReferenceRemoving ( object sender, NuGet.VisualStudio.PackageOperationEventArgs e ) : void
OpenReadMeFile ( ) : void
PrepareOpenReadMeFile ( NuGet.VisualStudio.PackageOperationEventArgs e ) : void
SaveExpandedNodes ( ) : void

Method Details

AddToolsFolderToEnvironmentPath() protected méthode

protected AddToolsFolderToEnvironmentPath ( string installPath ) : void
installPath string
Résultat void

BeginProcessing() protected méthode

protected BeginProcessing ( ) : void
Résultat void

EndProcessing() protected méthode

protected EndProcessing ( ) : void
Résultat void

ExecuteScript() protected méthode

protected ExecuteScript ( string rootPath, string scriptFileName, IPackage package, FrameworkName targetFramework, Project project ) : void
rootPath string
scriptFileName string
package IPackage
targetFramework FrameworkName
project Project
Résultat void

ProcessPackageBaseCommand() protected méthode

protected ProcessPackageBaseCommand ( ISolutionManager solutionManager, IVsPackageManagerFactory packageManagerFactory, IHttpClientEvents httpClientEvents, IVsCommonOperations vsCommonOperations ) : System
solutionManager ISolutionManager
packageManagerFactory IVsPackageManagerFactory
httpClientEvents IHttpClientEvents
vsCommonOperations IVsCommonOperations
Résultat System

RegisterProjectEvents() protected méthode

protected RegisterProjectEvents ( Project project ) : IProjectManager
project Project
Résultat IProjectManager

StartOperation() protected méthode

protected StartOperation ( string operation ) : IDisposable
operation string
Résultat IDisposable

WriteDisclaimerText() protected méthode

protected WriteDisclaimerText ( IPackageMetadata package ) : void
package IPackageMetadata
Résultat void