C# 클래스 NuGet.PowerShell.Commands.ProcessPackageBaseCommand

This class acts as the base class for InstallPackage, UninstallPackage and UpdatePackage commands.
상속: NuGetBaseCommand
파일 보기 프로젝트 열기: themotleyfool/NuGet

Private Properties

프로퍼티 타입 설명
CollapseNodes void
GetProjectManager Project>.Tuple
GetProjectManager Project>.Tuple
OnPackageInstalled void
OnPackageInstalling void
OnPackageReferenceAdded void
OnPackageReferenceRemoving void
OpenReadMeFile void
PrepareOpenReadMeFile void
SaveExpandedNodes void

보호된 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
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

메소드 상세

AddToolsFolderToEnvironmentPath() 보호된 메소드

protected AddToolsFolderToEnvironmentPath ( string installPath ) : void
installPath string
리턴 void

BeginProcessing() 보호된 메소드

protected BeginProcessing ( ) : void
리턴 void

EndProcessing() 보호된 메소드

protected EndProcessing ( ) : void
리턴 void

ExecuteScript() 보호된 메소드

protected ExecuteScript ( string rootPath, string scriptFileName, IPackage package, FrameworkName targetFramework, Project project ) : void
rootPath string
scriptFileName string
package IPackage
targetFramework FrameworkName
project Project
리턴 void

ProcessPackageBaseCommand() 보호된 메소드

protected ProcessPackageBaseCommand ( ISolutionManager solutionManager, IVsPackageManagerFactory packageManagerFactory, IHttpClientEvents httpClientEvents, IVsCommonOperations vsCommonOperations ) : System
solutionManager ISolutionManager
packageManagerFactory IVsPackageManagerFactory
httpClientEvents IHttpClientEvents
vsCommonOperations IVsCommonOperations
리턴 System

RegisterProjectEvents() 보호된 메소드

protected RegisterProjectEvents ( Project project ) : IProjectManager
project Project
리턴 IProjectManager

StartOperation() 보호된 메소드

protected StartOperation ( string operation ) : IDisposable
operation string
리턴 IDisposable

WriteDisclaimerText() 보호된 메소드

protected WriteDisclaimerText ( IPackageMetadata package ) : void
package IPackageMetadata
리턴 void